@font-face {
  font-family: 'SantanderHeadline';
  src: url('../fonts/Santander Headline W05 Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'SantanderText';
  src: url('../fonts/Santander Text W05 Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Uso de las fuentes en el proyecto */
body,
a,
button,
p,
li,
span,
label,
input,
textarea {
  font-family: 'SantanderText', Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'SantanderHeadline', Arial, sans-serif;
}


/* Estilos para el banner personalizado */
.custom-demo-banner {
  position: relative;
  width: 100%;
  background: #00A19A;
  height: 50px;
}

.custom-demo-banner .banner-background {
  position: relative;
  width: 100%;
  height: 50px;
}

.custom-demo-banner .banner-text {
  position: absolute;
  width: 656px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #FFFFFF;
}

.column-custom {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  text-align: center;
  margin-bottom: 20px;
}

.column-custom img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.column-custom h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 10px 0;
}

.column-custom p {
  font-size: 14px;
  color: #767676;
  margin-bottom: 15px;
}

.column-custom a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e20714;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.column-custom a:hover {
  background-color: #c00612;
}

/* Estilo general para el slider */
.brands-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 20px 0;
  width: 100%;
}

.brands-slider .slick-track {
  display: flex;
  align-items: center;
}

.brands-slider img {
  width: auto;
  height: 50px;
  /* Ajusta según el tamaño requerido */
  margin: 0 10px;
}

.brands-slider .slick-prev,
.brands-slider .slick-next {
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.brands-slider .slick-dots li button {
  background-color: #767676;
}

.brands-slider .slick-dots li.slick-active button {
  background-color: #000;
}

/* Ocultar slider en dispositivos móviles */
@media (max-width: 768px) {
  .brands-slider {
    display: none;
  }
}

@media (min-width: 800px) {
  .main-toggle-menu .menu-title .toggle::before {
    content: none !important;
    /* Fuerza la regla */
  }
}

/************************************
  Slider Personalizado (mi-slider)
*************************************/
.mi-slider .slick-prev,
.mi-slider .slick-next {
  width: 48px;
  height: 48px;

  /* Si no quieres un círculo de color por detrás, déjalo transparente */
  background-color: transparent;


  /* (abajo veremos la flecha derecha) */
  background-repeat: no-repeat;
  background-position: center center;
  /* Ajusta el icono dentro del contenedor de 48x48 */
  background-size: 48px 48px;
  /* O la medida que prefieras para tu flecha */

  /* Elimina el texto "Previous"/"Next" que añade Slick */
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;

  /* Centra verticalmente en el slider */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
}

/* Eliminar pseudo-elementos de Slick que ponen flechas por defecto */
.mi-slider .slick-prev:before,
.mi-slider .slick-next:before {
  content: none;
}

/* Flecha IZQUIERDA */
.mi-slider .slick-prev {
  left: 20px;
  /* Ajusta la posición horizontal */
  background-image: url('../media/Flecha izquierda.svg');
}

/* Flecha DERECHA */
.mi-slider .slick-next {
  right: 20px;
  /* Ajusta la posición horizontal */
  background-image: url('../media/Flecha derecha.svg');
}

/* Para evitar cualquier efecto hover */
.mi-slider .slick-prev:hover,
.mi-slider .slick-next:hover {
  background-color: transparent;
  /* o el color que quieras */
  opacity: 1;
  /* Sin cambios de opacidad */
}

@media (max-width: 768px) {
  .mi-slider .slick-prev .mi-slider .slick-next {
    display: none;
  }
}


/* DOTS */
.mi-slider .slick-dots {
  position: absolute;
  bottom: 20px;
  /* Ajusta según tu diseño */
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
}

.mi-slider .slick-dots li {
  margin: 0 5px;
}

.mi-slider .slick-dots li button {
  background: transparent;
  border: none;
  cursor: pointer;
  text-indent: -9999px;
  /* Oculta el pseudo-dibujo del punto original */
  overflow: hidden;
  outline: none;
  width: 10px;
  height: 10px;
}

/* Punto inactivo */
.mi-slider .slick-dots li button:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: #888;
  /* gris inactivo */
  border-radius: 50%;
}

/* Punto activo */
.mi-slider .slick-dots li.slick-active button:before {
  background-color: red;
  /* rojo activo */
}



/*************************************************
   * RESPONSIVE (MOBILE)
  **************************************************/
@media (max-width: 768px) {

  /* Si hay muchas pestañas, permitir scroll horizontal */
  .custom-tabs .ui-tabs-nav {
    overflow-x: auto;
  }

  .custom-tabs .ui-tabs-nav li a.ui-tabs-anchor {
    padding: 8px 16px;
    font-size: 14px;
    /* Ajusta si lo deseas más pequeño */
  }
}


/**************************************************
  AJUSTES GENERALES
**************************************************/
.custom-cards-row {
  display: grid;
  grid-template-columns: 538px 536px;
  /* Ajuste basado en Figma: 538px (iPhone) y 536px (2 x 261 + 14px gap) */
  gap: 22px;
  /* Gap entre bloque grande y bloque de tarjetas pequeñas */
  align-items: stretch;
  max-width: 1096px;
  /* Ancho exacto del Figma para alinear con el carrusel superior */
  margin: 0 auto;
  background-color: transparent;
}

/**************************************************
  TARJETA iPHONE - COLUMNA 1
**************************************************/
.custom-cards-row .card-iphone {
  background-color: #fff;
  /* Quita o reduce este padding si deseas eliminar todo borde interno */
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;

  display: flex;
  align-items: center;
}


/* Imagen + texto en columnas dentro de la tarjeta */
.custom-cards-row .iphone-content {
  display: grid;
  /* Si usabas algo como grid-template-columns: 269px auto;
     eso fuerza la imagen a 269px y deja un hueco.
     Cambia a 'auto 1fr' o un ancho que se ajuste mejor a tu diseño. */
  grid-template-columns: auto 1fr;
  gap: 1rem;
  /* Ajusta la separación entre imagen y texto */
  align-items: center;
}

/* Imagen iPhone */
.custom-cards-row .iphone-image img {
  display: block;
  width: 100%;
  height: 393px;
  margin: 0;
  /* sin margen */
  border-radius: 8px 0 0 8px;
  /* o quítalo, si no quieres esquinas redondeadas */
}

/* Texto iPhone */
.custom-cards-row .iphone-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  /* Alineado a la izquierda */
}

/* Título iPhone (rojo) */
.custom-cards-row .title-iphone {
  color: #EC0000;
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
}

/* Descripción iPhone */
.custom-cards-row .desc-iphone {
  color: #333;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 1rem 0;
  /* reduce si quieres menos espacio */
}

/* Botón iPhone con estilo pill */
.custom-cards-row .btn-iphone {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Forzar tamaño exacto */
  width: 112px;
  height: 32px;

  background: #EC0000;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-size: 10px;
  text-align: center;
  cursor: pointer;
}


/* Hover botón iPhone */
.custom-cards-row .btn-iphone:hover {
  background-color: #b80000;
}

/**************************************************
  TARJETAS NESPRESSO & VESPA - COLUMNAS 2 Y 3
**************************************************/
.custom-cards-row .card-other {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  /* Quita/ajusta el padding si no quieres borde en blanco alrededor */

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Imagen arriba sin margen entre foto y tarjeta */
.custom-cards-row .other-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
  /* redondea solo parte superior */
  margin: 0;
  /* sin margen extra */
}

/* Contenedor de texto de las tarjetas 2 y 3 */
.custom-cards-row .other-text {
  text-align: left;
  /* Un poco de padding arriba si quieres separar texto de la imagen */
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px;
}

/* Título en rojo */
.custom-cards-row .title-other {
  color: #EC0000;
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
}

/* Descripción */
.custom-cards-row .desc-other {
  color: #333;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  /* Elimina margen debajo, para que el botón quede más cerca */
}

.custom-cards-row .small-cards-container {
  display: grid;
  grid-template-columns: 261px 261px;
  /* Ancho exacto de cada tarjeta pequeña en Figma */
  gap: 14px;
  /* Gap específico entre tarjetas pequeñas */
}

/**************************************************
  RESPONSIVE - VERSIÓN MOBILE
**************************************************/
@media (max-width: 768px) {
  .custom-cards-row {
    display: flex;
    flex-direction: column;
    /* Las tarjetas se apilan */
    gap: 1rem;
    /* Espaciado entre tarjetas */
    width: 95%;
  }

  /* Tarjeta iPhone 16 */
  .custom-cards-row .card-iphone {
    display: flex;
    flex-direction: row;
    /* Imagen a la izquierda, texto a la derecha */
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    height: 255px;
  }

  .custom-cards-row .iphone-image img {
    width: 175px;
    height: auto;
    border-radius: 8px 0 0 8px;
  }

  .custom-cards-row .iphone-text {
    flex: 1;
    padding-left: 1rem;
  }

  /* Contenedor de tarjetas pequeñas */
  .small-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Dos tarjetas en una fila */
    gap: 1rem;
    /* Espaciado entre las tarjetas pequeñas */
  }

  /* Tarjetas pequeñas: Nespresso y Vespa */
  .small-cards-container .card-other {
    display: flex;
    flex-direction: column;

    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    height: 290px;
  }

  .small-cards-container .other-image img {
    width: 100%;
    height: 162px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
  }

  .small-cards-container .other-text {
    padding: 1rem;
  }

  .custom-cards-row .small-cards-container .desc-other {
    color: #333;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
  }

  .custom-cards-row .small-cards-container .title-other {
    color: #EC0000;
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
  }
}



/****************************************************
  PADRE: .mis-cards-wrapper
*****************************************************/
.mis-cards-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 1rem;  si deseas algo de relleno general */
}

/****************************************************
  FILAS (ROW 1 y 2) => dos columnas en Desktop
*****************************************************/
.mis-cards-wrapper .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 2 columnas iguales */
  gap: 1rem;
  /* espacio entre columnas */
  margin-bottom: 20px;
  /* separación entre filas */
}

/* Cada card */
.mis-cards-wrapper .row .card {
  display: flex;
  /* texto + imagen en línea */
  flex-direction: row;
  align-items: center;
  justify-content: space-between;

  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding-left: 15px;
}

/* Contenedor de texto dentro de cada card */
.mis-cards-wrapper .row .card .text {
  flex: 1;
  /* ocupa el espacio restante */
  margin-right: 15px;
  text-align: left;
}

.mis-cards-wrapper .row .card .text h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px 0;
}

.mis-cards-wrapper .row .card .text p {
  font-size: 14px;
  color: #767676;
  margin: 0 0 15px 0;
}

/* Imagen en cada card */
.mis-cards-wrapper .row .card .image img {
  display: block;
  width: 100%;
  height: 319px;
  border-radius: 8px;
  /* si quieres esquinas redondeadas */
}

/****************************************************
  BOTÓN ROJO ESTÁNDAR
*****************************************************/
.mis-cards-wrapper .btn-red {
  display: flex;
  /* Usamos flex para centrar contenido */
  justify-content: center;
  /* Centrado horizontal */
  align-items: center;
  /* Centrado vertical */
  background-color: #e20714;
  /* Color de fondo rojo */
  color: #fff;
  /* Texto blanco */
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  border: none;
  /* Sin bordes */
  border-radius: 50px;
  /* Bordes redondeados (forma de píldora) */
  width: 112px;
  /* Ancho fijo */
  height: 32px;
  /* Alto fijo */
  cursor: pointer;
  /* Cursor de mano */
  transition: background-color 0.3s ease;
  /* Transición suave para hover */
  padding: 0 16px;
  /* Relleno interno */
}

/* Efecto hover */
.mis-cards-wrapper .btn-red:hover {
  background-color: #c00612;
  /* Rojo más oscuro en hover */
}

/****************************************************
  FILA 3 (TARJETA GRANDE)
****************************************************/

/* Estructura general para la fila grande */
.mis-cards-wrapper .row.row-large {
  display: grid;
  grid-template-columns: 1fr 2fr;
  /* Texto: 1 parte, Imagen: 2 partes */
  gap: 0;
  /* Elimina cualquier espacio entre columnas */
  margin-bottom: 20px;
}

/* Columna izquierda: Contenedor del texto */
.mis-cards-wrapper .row.row-large .large-text {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px 0 0 8px;
  /* Bordes redondeados en la izquierda */
  padding: 20px;
  display: flex;
  /* Flex para alinear contenido */
  flex-direction: column;
  /* Apila elementos verticalmente */
  justify-content: center;
  /* Centra verticalmente */
  text-align: left;
}

.mis-cards-wrapper .row.row-large .large-text h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 10px 0;
}

.mis-cards-wrapper .row.row-large .large-text p {
  font-size: 14px;
  color: #767676;
  margin: 0 0 15px 0;
}


/* Columna derecha: Imagen grande */
.mis-cards-wrapper .row.row-large .large-image {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0 8px 8px 0;
  /* Bordes redondeados en la derecha */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mis-cards-wrapper .row.row-large .large-image picture,
.mis-cards-wrapper .row.row-large .large-image img {
  display: block;
  width: 100%;
  /* Ocupa todo el ancho disponible */
  height: auto;
}

/****************************************************
  Vista Mobile
*****************************************************/

@media (max-width: 768px) {

  /* Contenedor general */
  .mis-cards-wrapper {
    max-width: 100%;
    /* Ancho completo */
    padding: 0 1rem;
    /* Margen lateral */
  }

  /* Cada fila se convierte en una sola columna */
  .mis-cards-wrapper .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Dos columnas en cada fila */
    gap: 1rem;
    /* Espaciado entre tarjetas */
  }

  /* Tarjetas generales (FILA 1 y FILA 2) */
  .mis-cards-wrapper .row .card {
    display: flex;
    flex-direction: column-reverse;
    /* Imagen arriba, texto abajo */
    align-items: center;
    text-align: center;
    padding: 0;
    /* Sin relleno interno */
    background: #fff;
    /* Fondo blanco */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* Sombra sutil */
    border-radius: 8px;
    /* Bordes redondeados */
    border: none;
    /* Sin borde */
    overflow: hidden;
    /* Recorte de la imagen */
    width: 100%;
    /* Ancho automático */
    height: auto;
    /* Altura automática */
  }

  /* Imagen ocupa todo el borde superior */
  .mis-cards-wrapper .row .card .image img {
    width: 100%;
    /* Imagen ocupa todo el ancho */
    height: auto;
    /* Ajuste proporcional */
    object-fit: cover;
    /* Ajusta la imagen sin deformarla */
    border-radius: 8px;
    /* Bordes redondeados */
  }

  /* Título debajo de la imagen */
  .mis-cards-wrapper .row .card .text {
    display: block;
    padding: 0.5rem;
    /* Espaciado interno */
    font-size: 14px;
    /* Tamaño de fuente ajustado */
    font-weight: bold;
    color: #333;
  }

  /* Ocultar descripción y botón en mobile */
  .mis-cards-wrapper .row .card .text p,
  .mis-cards-wrapper .row .card .text .btn-red,
  .mis-cards-wrapper .row.row-large .large-text p,
  .mis-cards-wrapper .row.row-large .large-text .btn-red {
    display: none;
  }

  /****************************************************
    Tarjeta grande (Fila 3)
  *****************************************************/
  .mis-cards-wrapper .row.row-large {
    display: flex;
    flex-direction: row;
    /* Imagen a la derecha del texto */
    align-items: center;

    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* Sombra */
    border-radius: 8px;
    /* Bordes redondeados */
    border: none;
    /* Sin borde */
  }

  /* Texto a la izquierda */
  .mis-cards-wrapper .row.row-large .large-text {
    flex: 1;
    padding: 1rem;
    text-align: left;
    font-size: 14px;
    /* Tamaño de texto ajustado */
    font-weight: bold;
    color: #333;
    border: none;
  }

  .mis-cards-wrapper .row.row-large .large-image {
    background: none !important;
    /* anula el background de tu custom.css */
  }

  .mis-cards-wrapper .row.row-large .large-image img {
    display: block !important;
    /* anula el display:none de mobile */
  }
}



/*
.products-grid .product-item {
  width: auto;
}

.product-list-container {
  .products-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;

      .product-item {
        background-color: #ffffff; 
        border: 1px solid #ddd; 
        border-radius: 10px; 
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
        overflow: hidden;
        text-align: center;
        padding: 15px; 
        transition: transform 0.3s ease, box-shadow 0.3s ease; 
        
          &:hover {
            transform: translateY(-5px); 
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); 
          }

          .product-image img {
            max-width: 100%;
            height: auto;
            margin-bottom: 10px;
            border-radius: 5px; /
          }
          .product-info{
          .product-name {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
          }

          .price {
            font-size: 18px;
            color: #ff0000; 
            font-weight: bold;
            margin-bottom: 15px;
          }
        }
          .btn-add-to-cart {
            background-color: #ff0000; 
            color: #fff; 
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            text-transform: uppercase;
            transition: background-color 0.3s ease;

              &:hover {
                  background: #cc0000;
              }
          }
      }
  }


@media (max-width: 1024px) {
  .products-grid {
      grid-template-columns: repeat(3, 1fr); 
  }
}

@media (max-width: 768px) {
  .products-grid {
      grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 480px) {
  .products-grid {
      grid-template-columns: 1fr; 
  }
}

}*/


.catalog-category-view .sidebar.sidebar-main .sidebar-content,
.catalogsearch-result-index .sidebar.sidebar-main .sidebar-content {
  border: 0px !important;
  border-radius: 0px;
  margin-top: 20px;
}

@media (max-width: 991px) {

  .catalog-category-view .mobile-sidebar,
  .catalog-product-view .mobile-sidebar,
  .catalogsearch-result-index .mobile-sidebar {
    /* Elimina el “position: fixed” */
    position: static !important;
    /* Quita el margin/padding forzados */
    margin: 0 !important;
    padding: 0 !important;
    /* Quita “width: 260px;” si no lo deseas */
    width: auto !important;
    /* Quita la transformación */
    transform: none !important;
    /* Restaura top, left, bottom a “auto” */
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    /* Ajusta z-index si no quieres que se superponga */
    z-index: auto !important;
  }

  .columns .sidebar-main {
    -webkit-flex-grow: 0 !important;
    flex-grow: 0 !important;
    max-width: auto !important;
    -webkit-order: 0;
    order: 0;
  }

}

.page-wrapper .breadcrumbs {
  padding: 0;
  color: #727272;
  font-size: 12px;
  margin-bottom: 0;
  background-color: transparent !important;
}

.product-brand {
  font-size: 14px;
  font-weight: bold;
  color: #555;
  margin-bottom: 5px;
}

.card-style {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  /* margin-top: 50px; */
  /* width: 45% !important; */
}

@media screen and (max-width: 768px) {
  .card-style {
    width: 100% !important;
  }
}

.product-info-main .product-reviews-summary:after {
  content: none !important;
  border-top: none !important;
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
}

.product-add-form .box-tocart {
  padding: 1.25rem 0 1rem;
  border-top: none !important;
  border-bottom: none !important;
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 1em;
  margin: 0;
  justify-items: center;
}

.field.qty {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 1.5rem;
}

.field.qty .label {
  margin-right: 10px;
  font-weight: normal;
}

.field.qty .control {
  display: flex;
  align-items: center;
}

.field.qty .input-text.qty {
  width: 40px;
  height: 35px;
  padding: 0;
  text-align: center;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  appearance: textfield;
}

.field.qty .input-text.qty::-webkit-outer-spin-button,
.field.qty .input-text.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.field.qty .qty-changer {
  display: flex;
  flex-direction: column;
  margin-left: -1px;
}

.field.qty .qty-changer a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 17.5px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  color: #666;
  position: relative !important;
}

.field.qty .qty-changer .qty-inc {
  border-radius: 0 4px 0 0;
}

.field.qty .qty-changer .qty-dec {
  border-top: none;
  border-radius: 0 0 4px 0;
  background: #e0e0e0;
}

.field.qty .qty-changer a:hover {
  background: #e0e0e0;
}

/* Icon styles */
.porto-icon-up-dir,
.porto-icon-down-dir {
  font-size: 12px;
  line-height: 1;
}

.product-info-price .price-wrapper .price,
.product-info-price .price {
  color: #EC0000 !important;
  font-size: 1.875rem !important;
  line-height: 1.1;
}

.installments-info {

  line-height: 1.4;
  margin-bottom: 1rem;
}

.installments-info p {
  margin: 0;
  /* Para que no haya márgenes innecesarios entre párrafos */
  margin-bottom: 4px;
  /* Espaciado sencillo */
}

/* Primer párrafo (texto principal en color más llamativo) */
.installments-info p:first-child {
  color: #006771;
  /* Color teal similar al de la imagen */
  font-size: 1 rem;
  /* Tamaño un poco mayor */
  font-weight: 600;
  /* Seminegrita */
}

/* Párrafos secundarios (texto gris, tamaño normal o ligeramente más pequeño) */
.installments-info p:nth-child(2),
.installments-info p:nth-child(3) {
  color: #666666;
  font-size: 0.875rem;
  font-weight: 400;
}

.product-options-bottom {
  padding: 0px !important;
}

.product-similar-wrapper,
.product-recommended-wrapper {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

.section-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

.product-slider {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.product-item {
  min-width: 230px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px !important;
  text-align: center;
  background: #fff;
}

.product-item img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.product-name {
  font-size: 16px;
  margin: 10px 0;
}

.product-price {
  font-size: 14px;
  color: #333;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 5px;
}

.new-price {
  font-size: 18px;
  font-weight: bold;
  color: #e60000;
}

.add-to-cart {
  background: #ff3b3b;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.add-to-cart:hover {
  background: #cc0000;
}


.product-similar-desktop {
  display: block;
}

.product-similar-mobile {
  display: none;
}

/* 📱 Mostrar solo en mobile */
@media screen and (max-width: 768px) {
  .product-similar-desktop {
    display: none;
  }

  .product-similar-mobile {
    display: block;
  }
}

/* mega header */

/* app/design/.../web/css/custom.css */

/* ----- CONTENEDOR GENERAL ----- */
nav.navigation.sw-megamenu.mega-nav {
  display: flex;
  background: #151515;
}

/* ----- TABS LATERALES ----- */
nav.navigation.sw-megamenu .mega-tabs {
  width: 220px;
  margin: 0;
  padding: 30px 0;
  list-style: none;
  background: #000;
}

nav.navigation.sw-megamenu .tab-item {
  padding: 8px 25px;
  color: #fff;
  cursor: pointer;
}

nav.navigation.sw-megamenu .tab-item.active {
  border-left: 2px solid #b00000;
}

nav.navigation.sw-megamenu .tab-item:hover {
  color: #e00000;
}

/* ----- PANELES ----- */
nav.navigation.sw-megamenu .mega-panels {
  flex: 1;
  display: flex;
}

nav.navigation.sw-megamenu .mega-panel {
  display: none;
  width: 100%;
  background: #222;
}

nav.navigation.sw-megamenu .mega-panel.open {
  display: flex;
}

/* ----- NIVEL‑1 ----- */
nav.navigation.sw-megamenu .lvl1-col {
  width: 240px;
  padding: 30px;
}

nav.navigation.sw-megamenu .lvl1-item {
  display: block;
  margin-bottom: 12px;
  color: #fff;
}

nav.navigation.sw-megamenu .lvl1-item:hover {
  color: #e00000;
}

/* ----- NIVEL‑2 ----- */
nav.navigation.sw-megamenu .lvl2-col {
  flex: 1;
  padding: 30px;
}

nav.navigation.sw-megamenu .lvl2-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.navigation.sw-megamenu .lvl2-list:first-child {
  /* visible por defecto */
  display: block;
}

nav.navigation.sw-megamenu .lvl2-list li {
  margin-bottom: 8px;
}

nav.navigation.sw-megamenu .lvl2-list a {
  color: #bbb;
}

nav.navigation.sw-megamenu .lvl2-list a:hover {
  color: #fff;
}

.product-item [class^='swatch-opt-'] {
  display: none !important;
}

.minicart-wrapper .action.showcart .counter.qty {
  right: 10px !important;
  top: -4px;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  width: 22px !important;
  height: 22px !important;
  line-height: 14px;
  background-color: transparent !important;
}

.columns .column.main {
  padding-bottom: 0px !important;
}

.wk-seller-block.wk-block {
  display: none !important;
}

/**
 * ───────────────────────────────────────────
 *  SWATCH COLOR – estilo “píldoras” redondas
 * ───────────────────────────────────────────
 */

/*  Contenedor del atributo (muestra la etiqueta “Color:”) */
.swatch-attribute.color {
  display: flex;
  align-items: center;
  border-radius: 6px;
}

/*  Etiqueta (“Color:”) */
.swatch-attribute.color .swatch-attribute-label {
  font-weight: 600;
  margin-left: 18px;
  text-transform: capitalize;
  line-height: 1;
}

/*  Tira de opciones */
.swatch-attribute.color .swatch-attribute-options {
  display: flex;
  gap: 10px;
}

/*  Cada opción de color (los <div class="swatch-option color">) */
.swatch-attribute.color .swatch-option {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1px solid #d9d9d9;
  cursor: pointer;
  transition: all .15s ease-in-out;
}

/*  Hover: levemente más grande y con sombra */
.swatch-attribute.color .swatch-option:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px fade(#000, 10%);
}

/*  Opción seleccionada: aro rojo (como tu primera captura) */
.swatch-attribute.color .swatch-option.selected {
  border: 2px solid #d20000;
  box-shadow: 0 0 0 2px #fff inset;
}


/**
 * ───────────────────────────────────────────
 *  SWATCH CAPACIDAD – estilo “pastilla” gris
 * ───────────────────────────────────────────
 */

/*  Contenedor del atributo (“Capacidad: …”) */
.swatch-attribute.capacidad {
  display: flex;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 12px 18px;
  margin-bottom: 20px;
}

/*  Etiqueta */
.swatch-attribute.capacidad .swatch-attribute-label {
  font-weight: 600;
  margin-right: 18px;
  text-transform: capitalize;
  line-height: 1;
}

/*  Tira de opciones */
.swatch-attribute.capacidad .swatch-attribute-options {
  display: flex;
  gap: 18px;
}

/*  Cada opción “128GB”, “256GB”… */
.swatch-attribute.capacidad .swatch-option.text {
  min-width: 72px;
  padding: 7px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #f2f2f2;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  line-height: 1;
  cursor: pointer;
  transition: all .15s ease-in-out;
  user-select: none;
}

/*  Hover: resalta la pastilla */
.swatch-attribute.capacidad .swatch-option.text:hover {
  background: #e6e6e6;
  box-shadow: 0 0 0 2px fade(#000, 10%);
}

/*  Seleccionada: borde rojo, fondo blanco */
.swatch-attribute.capacidad .swatch-option.text.selected {
  border: 2px solid #d20000;
  background: #ffffff;
}


.block-search .action.search:before {
  display: none !important;
}

.toolbar {
  display: none !important;
}

/*  
.page-title-wrapper {
  display: none !important;
}
*/

/* ═══════════════════════════════════════════════════════════════════
   ESTILOS PARA RESULTADOS DE BÚSQUEDA DEL CATÁLOGO - MAGENTO 2
   ═══════════════════════════════════════════════════════════════════ */

/* ───── CONTENEDOR PRINCIPAL DE PRODUCTOS ───── */
.products.wrapper.grid.columns4.products-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  grid-template-columns: repeat(4, 1fr);
}

/* ───── LISTA DE PRODUCTOS ───── */
.filterproducts.products.list.items.product-items {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ───── ITEM DE PRODUCTO INDIVIDUAL ───── */
.item.product.product-item {
  display: flex;
  flex-direction: column;
  height: 352px !important;
  position: relative;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 767px) {
  .item.product.product-item {
    padding: 10px;
  }
}

.item.product.product-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ───── CONTENEDOR DE INFO DEL PRODUCTO ───── */
.owl-stage {
  display: flex;
}

.owl-item {
  display: flex;
}

.owl-item .item.product.product-item {
  width: 100%;
}

.product-item-info.type1.porto-tb-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.porto-section.p-0 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ───── IMAGEN DEL PRODUCTO ───── */
.product.photo.product-item-photo.product-image {
  margin-bottom: 12px;
}

.product-image-photo {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-image-photo.hover_image {
  display: none;
}

.porto-tb-featured-image:hover .product-image-photo.default_image {
  display: none;
}

.porto-tb-featured-image:hover .product-image-photo.hover_image {
  display: block;
}

/* ───── DETALLES DEL PRODUCTO ───── */
.product.details.product-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-prices {
  margin-top: auto;
  margin-bottom: 12px !important;
  width: 100%;
}

/* ───── NOMBRE DEL PRODUCTO ───── */
.product.name.product-item-name {
  margin: 10px 0;
}

.product-item-link {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  height: 50px !important;
  max-width: 163px !important;
  margin: 10px auto 0 auto !important;
  font-family: 'SantanderText', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 100% !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-item-link:hover {
  color: #EC0000;
}

/* ───── CALIFICACIONES ───── */
.product-reviews-summary.short {
  margin: 8px 0;
}

.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.rating-result {
  width: 80px;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
}

.rating-result span {
  display: block;
  height: 100%;
}

/* ───── PRECIOS ───── */
.price-box.price-final_price {
  margin: 8px 0 16px 0;
}

.price-container {
  display: block;
}

.price-wrapper .price {
  font-size: 1.2rem;
  color: #000;
  font-weight: bold;
}

/* Si hay precio anterior (oferta) */
.price-container.old-price .price {
  font-family: 'SantanderText', sans-serif !important;
  font-weight: 300 !important;
  font-size: 16px !important;
  line-height: 100% !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: line-through !important;
  color: #999 !important;
  display: block;
}

.price-container.special-price .price {
  font-size: 1.2rem;
  color: #EC0000;
  font-weight: bold;
  margin-top: 5px;
}

.product-prices .special-price {
  font-family: 'SantanderText', sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 100% !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  color: #EC0000 !important;
  margin-top: 5px !important;
}

/* ───── ACCIONES DEL PRODUCTO ───── */
.product-item-inner {
  margin-top: auto;
}

.product.actions.product-item-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

/* ───── BOTÓN AGREGAR AL CARRITO ───── */
.actions-primary form {
  width: 100%;
}

.action.tocart.primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  color: #EC0000 !important;
  border: 1px solid #EC0000 !important;
  border-radius: 50px !important;
  width: 148px !important;
  height: 32px !important;
  min-width: 112px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 0 16px !important;
  gap: 4px !important;
  line-height: normal !important;
  text-align: center !important;
  font: 14px 'SantanderHeadline', sans-serif !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.action.tocart.primary:hover {
  background: #EC0000 !important;
  color: #fff !important;
}

/* ───── ACCIONES SECUNDARIAS ───── */
.actions-secondary {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.action.towishlist,
.action.tocompare {
  background: none;
  border: none;
  color: #666;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.action.towishlist:hover,
.action.tocompare:hover {
  color: #EC0000;
}

/* ───── BADGE DE DESCUENTO (si existe) ───── */
.discount-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #EC0000;
  color: #fff;
  font: bold 0.85rem sans-serif;
  border-radius: 5px;
  height: 25px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════ */

/* ───── TABLET (768px - 1199px) ───── */
@media (max-width: 1199px) and (min-width: 768px) {
  .products.wrapper.grid.columns4.products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ───── MÓVIL (hasta 767px) ───── */
@media (max-width: 767px) {
  .products.wrapper.grid.columns4.products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .item.product.product-item {
    padding: 12px;
  }

  .product-item-link {
    font-size: 0.9rem;
  }

  .action.tocart.primary {
    width: 120px;
    height: 28px;
    line-height: 26px;
    font-size: 12px;
  }

  .product-item .tocart span {
    display: inline-block;
    vertical-align: top;
    font-size: 10px;
  }
}

/* ───── MÓVIL PEQUEÑO (hasta 480px) ───── */
@media (max-width: 480px) {
  .products.wrapper.grid.columns4.products-grid {
    gap: 12px;
  }

  .item.product.product-item {
    padding: 10px;
  }

  .product-item-link {
    font-size: 0.85rem;
    line-height: 1.1;
  }

  .action.tocart.primary {
    width: 100px;
    height: 26px;
    line-height: 24px;
    font-size: 11px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ESTADOS Y ANIMACIONES
   ═══════════════════════════════════════════════════════════════════ */

/* ───── LOADING STATE ───── */
.product-item.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ───── ANIMACIÓN SUAVE PARA HOVER ───── */
.product-item * {
  transition: all 0.2s ease;
}

/* ───── FOCUS ACCESSIBILITY ───── */
.product-item-link:focus,
.action.tocart.primary:focus {
  outline: 2px solid #EC0000;
  outline-offset: 2px;
}

/* 1)  Aplica solo a los carruseles de productos              */
/*     –ponelo en custom.css, _extend.less o en un <style>–   */
.widget-product-carousel {

  /* compensamos el padding que añadimos a los slides
       para que el carrusel siga ocupando todo el ancho */
  .slick-list {
    margin: 0 -14px;
    /* 14 px = mismo valor que abajo */
  }

  /* espacio entre cada tarjeta */
  .slick-slide {
    padding: 0 14px;
    /* ⇐ ajustá a tu gusto (10-20 px) */
  }

  /* aseguramos que la tarjeta ocupe el 100 % del slide,
       sin verse afectada por el padding anterior */
  .slick-slide>div,
  .slick-slide .product-item {
    width: 100% !important;
  }
}


/*───────────────────────────────────────────────────────────
   Checkout → Paso “Dirección”  (ajuste calles + e-mail)
───────────────────────────────────────────────────────────*/

/* — ENCABEZADO traducible — */
#shipping.checkout-shipping-address>.step-title {
  display: block;
  background: #d6eaf2;
  color: #0b5068;
  text-transform: uppercase;
  padding: 14px 32px;
  margin: 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* — CARD ÚNICA engloba todo — */
#checkout-step-shipping.step-content {
  background: #fff;
  border: 1px solid #e3edf2;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  padding: 32px;
}

/* quitamos el “doble card” interno */
#shipping-new-address-form {
  border: none;
  box-shadow: none;
  padding: 0;
}

/*───────────────── GRID GENERAL ─────────────────*/
@media (min-width:768px) {

  .form-login .field,
  #shipping-new-address-form [name="shippingAddress.telephone"] {
    flex: 0 0 100%;
  }
}

/* ── Agrupar Street 0 + Street 1 ── */
@media (min-width:768px) {
  #shipping-new-address-form fieldset.field.street.admin__control-fields {
    display: flex;
    gap: 16px;
  }

  /* cada .field interno al fieldset toma mitad */
  #shipping-new-address-form fieldset.field.street.admin__control-fields .field {
    flex: 1;
    min-width: 325px;
    max-width: max-content;
    padding-bottom: 20px;
  }
}

/*───────────────── ESTILO CAMPOS ─────────────────*/
/* aplicamos a todos los inputs/textarea/select dentro del checkout-step */
#checkout-step-shipping.step-content input.input-text,
#checkout-step-shipping.step-content select,
#checkout-step-shipping.step-content textarea {
  width: 100%;
  background: #f6fcff;
  border: 1px solid #cfe7f4;
  border-radius: 4px;
  /* padding: 14px 12px 10px; */
  font-size: 15px;
  transition: border .2s, box-shadow .2s;
  border-bottom: 1px solid #257FA4;
}

#checkout-step-shipping.step-content input.input-text:focus,
#checkout-step-shipping.step-content select:focus,
#checkout-step-shipping.step-content textarea:focus {
  border-color: #009fe3;
  box-shadow: 0 0 0 2px rgba(0, 159, 227, .2);
  outline: 0;
}

#checkout-step-shipping.step-content ::placeholder {
  color: #8c9aa5;
}

/* flecha roja en selects */
#checkout-step-shipping.step-content select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>  <path fill='%23c51111' d='M7 10l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
  margin: 1px 1px;
}

/*────────── TELÉFONO +56 ──────────*/
#checkout-step-shipping.step-content [name="shippingAddress.telephone"] {
  position: relative;
  padding-left: 60px;
}

#checkout-step-shipping.step-content [name="shippingAddress.telephone"]::before {
  content: '+56';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: #0b5068;
}

/*──────── CONTADORES “0/80” ────────*/
#checkout-step-shipping.step-content .counter-container,
#checkout-step-shipping.step-content .note {
  position: absolute;
  right: 8px;
  bottom: -18px;
  font-size: 11px;
  color: #8c9aa5;
}

/*──────────────── PEDIDOS ESPECIALES ─────────────────*/


/* 2) Eliminar tooltips, nota e “hr” del e-mail */
.field-tooltip,
.field-tooltip-action,
.field-tooltip-content,
.opc-wrapper .form-login .note {
  display: none !important;
}

.opc-wrapper .form-login {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 3) Ocultar leyendas/títulos duplicados */
#shipping-new-address-form legend,
#shipping-new-address-form [data-role="title"] {
  display: none;
}

.opc-wrapper .form-login .fieldset .field .label,
.opc-wrapper .form-shipping-address .fieldset .field .label {
  display: none;
}


@media (min-width: 769px),
print {

  .opc-wrapper .form-login,
  .opc-wrapper .form-shipping-address {
    max-width: none !important;
  }
}


@media (min-width: 768px) {

  /* Contenedor de las dos líneas */
  .form-shipping-address .field.street .control {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
  }

  /* Cada línea ocupa la mitad */
  .form-shipping-address .field.street .control>.field {
    box-sizing: border-box;
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 12px;
  }

  .form-shipping-address .field.street .control>.field:nth-child(2n) {
    padding-right: 0;
  }

  /* ① Quitamos el margen que Magento da a .field.additional  */
  .form-shipping-address .field.street .control>.field.additional {
    margin-top: 0 !important;
    /* antes era .5em */
  }
}

/*  ───── 2 columnas genéricas para cualquier .half-width ───── */
@media (min-width: 768px) {

  /* 1) Contenedor principal del formulario de dirección  */
  .form-shipping-address .fieldset.address:not(.order-attributes-form) {
    display: flex;
    /* aquí estaba el fallo: selector errado  */
    flex-wrap: wrap;
  }

  /* 2) Cualquier campo con la clase half-width = 50 % */
  .form-shipping-address .fieldset.address>.field.half-width {
    box-sizing: border-box;
    flex: 0 0 50%;
    max-width: 50%;
    margin-left: 10px;
  }

  /* 3) Segunda columna sin gutter  */
  .form-shipping-address .fieldset.address>.field.half-width:nth-child(2n) {
    padding-right: 0;
  }

  /* 4) Si Magento le pone margen extra a .field.additional lo anulamos */
  .form-shipping-address .fieldset.address>.field.half-width.field.additional {
    margin-top: 0;
  }

  .form-shipping-address .order-attributes-form.fieldset.address {
    display: block !important;
  }
}

/* ============== CONTENEDOR PRINCIPAL ============== */
.checkout-shipping-method {
  max-width: 900px;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
}

/* Título */
.step-title {
  background: #e6f2f7;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

/* Contenido */
.step-content {
  padding: 0;
}

.form.methods-shipping {
  margin: 0;
}

/* Ocultar cabezal original */
.table-checkout-shipping-method>thead {
  display: none;
}

.table-checkout-shipping-method {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.table-checkout-shipping-method>tbody>tr.row {
  border: none;
}

/* Mostrar sólo la col carrier */
.table-checkout-shipping-method .col.col-carrier {
  display: table-cell;
  width: 100%;
  border-top: 0 !important;
}

/* ============== TARJETA POR VENDEDOR ============== */
.col.col-carrier table {
  width: 100%;
  margin: 20px auto;
  border: 1px solid #d7dee3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.col.col-carrier table thead {
  display: none;
}

/* Encabezado vendedor */
.seller-header td {
  /*display:flex;
    justify-content:space-between;*/
  align-items: center;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #d7dee3;
}

.seller-header .seller-name {
  margin: 0;
}

.seller-header .seller-products {
  margin: 0;
  font-weight: 400;
  color: #555;
}

/* ============== FILAS DE MÉTODO DE ENVÍO ============== */
.shipping-row td {
  padding: 18px 24px;
  border-bottom: 1px solid #f1f3f5;
  vertical-align: middle;
}

.shipping-row:last-child td {
  border-bottom: none;
}

.shipping-row:hover {
  background: #f8f9fa;
}

/* radio */
.shipping-row td:first-child {
  width: 48px;
  text-align: center;
}

.shipping-row input[type="radio"] {
  width: 18px;
  height: 18px;
}

/* título */
.shipping-row td:nth-child(2) {
  font-size: 14px;
}

/* precio */
.shipping-row td:last-child {
  width: 120px;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

/* ============== OTRAS CLASES HEREDADAS ============== */
.col.col-price {
  font-weight: 500;
  color: #333;
}

.actions-toolbar {
  padding: 20px;
}

.button.action.continue.primary {
  min-width: 200px;
  height: 48px;
  font-size: 16px;
  font-weight: 700;
  background: #fff;
  color: #00a6b2;
  border: 2px solid #00a6b2;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}

.button.action.continue.primary:hover {
  background: #0056b3;
}

.table-checkout-shipping-method tbody td {
  border-top: 0 !important;
}

/* Borde / sombra alrededor de todo el bloque */
#checkout-shipping-method-load {
  border: 1px solid #e3edf2;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  background: #fff;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

/* ============== RESPONSIVE ============== */
@media(max-width:768px) {
  .checkout-shipping-method {
    margin: 10px;
    border-radius: 8px;
  }

  .col.col-carrier table {
    margin: 10px auto;
  }

  .seller-header td,
  .shipping-row td {
    padding: 12px 16px;
  }

  .seller-header {
    font-size: 14px;
  }
}

.product-items .widget-product-carousel .products {
  margin-left: 0 !important;
  margin-right: 0 !important;
}


[data-content-type='products'][data-appearance='carousel'] .slick-initialized li.product-item {
  min-height: 324px !important;
}


@media (max-width: 768px) {
  .pagebuilder-slider.mi-slider.slick-initialized.slick-slider.slick-dotted .slick-slide {
    width: 412px !important;
  }


}

.slick-track {

  width: 5904px !important;
}

.pagebuilder-slider.mi-slider.slick-initialized.slick-slider.slick-dotted .slick-slide {
  width: 1920px;
}

.swatch-attribute.swatch-layered.color.mst-nav__swatch {
  border: 0px !important;
}

.abs-cart-block>.title,
.abs-discount-block .block>.title,
.cart-summary .block>.title,
.magento-payments-review-discount .block>.title,
.paypal-review-discount .block>.title,
.cart-discount .block>.title {
  border-top: 0px !important;

}

.custom-cart-summary {
  padding: 0px !important;
}

.cart-summary {
  padding: 8px 12px !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06) !important;
  margin-top: 22px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 0, 0, .06) !important;
}

.summary-row.grand-total {
  border-top: 0px !important;
}

.checkout-button {
  border-top: 0px !important;
}

.cart-summary .checkout-methods-items .action.primary.checkout {

  background-color: #FF0000 !important;

}


/* summary checkout */

.opc-block-summary {
  background: #ffffff;
  padding: 22px 1.5em;
  border: 2px solid #e7e7e7;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
}


.column.main .opc-block-summary .product-item {
  margin: 0;
  padding: 0;
  border: 0px;
}

.opc-block-summary .product-item .product .product-image-container {
  height: 130px !important;
  width: 130px !important;
}

.minicart-items .product-item-details .product-item-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  /* izquierda = nombre / derecha = precio */
  align-items: flex-start;
}

.minicart-items .product-item-details .subtotal {
  grid-column: 2;
  /* columna derecha */
  grid-row: 2;
  /* fila abajo */
  justify-self: end;
  margin-top: 75px;
}

.minicart-items .product-item-name {

  font-size: 18px !important;
}



.minicart-items .product-item-details .price,
.price-including-tax,
.price-excluding-tax {
  font-weight: 700 !important;
  color: #000 !important;
  font-size: 20px !important;
}

.opc-block-summary .mark .value {
  display: none;
}

.cart-totals tbody .amount,
.cart-totals tfoot .amount,
.opc-block-summary .table-totals tbody .amount,
.opc-block-summary .table-totals tfoot .amount {

  font-size: 20px;
}

.cart-totals tbody .mark,
.cart-totals tfoot .mark,
.opc-block-summary .table-totals tbody .mark,
.opc-block-summary .table-totals tfoot .mark {
  font-size: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.cart-totals .grand strong,
.opc-block-summary .table-totals .grand strong {

  font-size: 20px;
  font-weight: 700;
}

.cart-totals .grand .amount,
.opc-block-summary .table-totals .grand .amount {

  padding-bottom: 0px;
}

.cart-totals .grand .mark,
.opc-block-summary .table-totals .grand .mark {

  padding-bottom: 0px;
}

.modal-header {
  display: none;
}

@media(min-width: 769px) {
  .opc-sidebar {
    margin: 0 !important;
  }
}

.opc-block-summary .table-totals tr.totals.sub td {
  padding-top: 15px;
  padding-bottom: 15px;
}


/* ============================================
   Opciones del producto en línea 
   ============================================ */

.opc-block-summary .product-options-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.opc-block-summary .product-option-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 13px;
  line-height: 1.4;
}

.opc-block-summary .product-option-item .option-label {
  font-weight: 600;
  color: #333;
}

.opc-block-summary .product-option-item .option-value {
  font-weight: 400;
  color: #666;
}

@media (max-width: 767px) {
  .opc-block-summary .product-options-inline {
    gap: 12px;
  }

  .opc-block-summary .product-option-item {
    font-size: 12px;
  }
}

.checkout-payment-method .payment-method-title {

  display: none !important;
}

.checkout-payment-method .placetopay-method-description {
  display: none !important;
}

.checkout-payment-method .payment-method-billing-address {
  display: none !important;
}

.checkout-payment-method .discount-code {
  display: none !important;
}


/* ===== Paso de pago – Card general ===== */

/* Sacar fondo azul del contenedor grande */
#checkout-payment-method-load.opc-payment {
  background: transparent;
  padding: 0;
}

/* Card blanca con sombra, igual que otros pasos */
.checkout-payment-method .items.payment-methods {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  padding: 0 32px 32px;
}

/* Header celeste de PAGO */
.checkout-payment-method .step-title {
  background: #d6eaf4;
  color: #262626;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 32px;
  margin: 0 -32px 24px;
  border-radius: 14px 14px 0 0;
}

/* ===== Contenido Getnet centrado ===== */

#payment-method-placetopay.payment-method._active {
  border: 0;
  background: transparent;
  padding: 0;
}

/* Ocultamos el “radio + label” de método (solo queremos el logo) */
#payment-method-placetopay .payment-method-title.field.choice {
  display: none;
}

/* Centro todo el contenido del método */
#payment-method-placetopay .payment-method-content {
  text-align: center;
}

/* Logo */
#payment-method-placetopay .placetopay-method-logo {
  margin: 24px auto 12px;
}

#payment-method-placetopay .placetopay-method-logo img {
  max-width: 260px;
  height: auto;
}

/* Texto debajo del logo */
#payment-method-placetopay .placetopay-method-description {
  max-width: 520px;
  margin: 0 auto 24px;
  font-size: 14px;
  color: #333;
}

/* ===== Botón “REALIZAR PEDIDO” como CTA rojo ===== */

.checkout-payment-method .actions-toolbar {
  margin-top: 24px;
  place-self: center;
}

.checkout-payment-method .actions-toolbar .primary {
  text-align: center;
  /* centra el botón */
}

.checkout-payment-method .actions-toolbar .action.primary.checkout {
  background: #e0001b;
  /* rojo Santander */
  border-radius: 999px;
  border: none;
  padding: 14px 40px;
  min-width: 260px;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
  transition: background .2s, box-shadow .2s, transform .1s;
}

.checkout-payment-method .actions-toolbar .action.primary.checkout:hover {
  background: #b80016;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
  transform: translateY(-1px);
}

/* Mobile: card un poco más compacta */
@media (max-width: 767px) {
  .checkout-payment-method .items.payment-methods {
    padding: 0 16px 24px;
  }

  .checkout-payment-method .step-title {
    padding: 10px 16px;
    margin: 0 -16px 20px;
  }
}

/*───────────────────────────────────────────────────────────
   Checkout → Paso “Dirección”  (ajuste errores + Región)
───────────────────────────────────────────────────────────*/

/* 1. Crear espacio fijo debajo de cada campo para que quepa el error */
#checkout-step-shipping .field {
  margin-bottom: 28px !important;
  /* Ajusta este valor si necesitas más aire */
}

/* 2. Asegurar que el contenedor del input sea la referencia de posición */
#checkout-step-shipping .control {
  position: relative !important;
}

/* 3. Posicionar el error de forma absoluta para que no empuje nada */
#checkout-step-shipping .field-error {
  position: absolute !important;
  top: 100%;
  /* Lo ubica justo debajo del input */
  left: 0;
  width: 100%;
  margin-top: 4px;
  /* Un pequeño margen superior para que no pegue con el borde del input */
  z-index: 10;
  line-height: 1.2;
  font-size: 12px;
  /* Asegura que el texto no sea gigante */
  white-space: nowrap;
  /* Opcional: Intenta mantenerlo en una línea */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ajuste específico para cuando los campos están en grilla (como calle y altura) */
@media (min-width: 768px) {
  #shipping-new-address-form .field.street .control .field {
    margin-bottom: 0 !important;
    /* Reseteamos margen interno */
    padding-bottom: 28px !important;
    /* Usamos padding en su lugar para mantener alineación flex */
  }
}


/* 1. Igualar la altura y padding del input de texto de Región al del Select */
#shipping-new-address-form .field[name="shippingAddress.region"] .input-text {
  height: 40px !important;
  /* Forza la misma altura que el select (aprox 39/40px) */
  padding-top: 0 !important;
  /* Elimina el relleno superior de 14px */
  padding-bottom: 0 !important;
  /* Elimina el relleno inferior */
  line-height: 38px !important;
  /* Centra el texto verticalmente (Altura - bordes) */
  min-height: 40px !important;
  /* Asegura que no se colapse */
  margin-top: 0 !important;
  /* Alineación superior */
}

/* 2. (Opcional) Si quieres que se vea IDÉNTICO incluyendo el color de fondo grisáceo/azul */
#shipping-new-address-form .field[name="shippingAddress.region"] .input-text {
  background-color: #f6fcff !important;
  /* Mismo color de fondo que tus otros inputs */
  border: 1px solid #cfe7f4 !important;
  /* Mismo borde */
  border-radius: 4px !important;
  margin-left: 20px;
}

/* FORZAR DISEÑO ESCRITORIO (2 COLUMNAS: SIDEBAR IZQ - PRODUCTOS DER) */
@media (min-width: 992px) {

  /* 1. Contenedor Flexible */
  .page-layout-2columns-left .page-main-inner .columns {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
  }

  /* 2. Barra Lateral (Filtros) */
  .page-layout-2columns-left .sidebar.sidebar-main {
    padding-right: 0 !important;
    margin-right: 15px !important;
  }

  .page-layout-2columns-left .sidebar-main {
    order: 1 !important;
    /* Visualmente PRIMERO (Izquierda) */
    width: 25% !important;
    /* Ancho de la columna lateral */
    flex-basis: 25% !important;
    max-width: 314px;
    /* Separación con los productos */
    float: none !important;
    /* Anular floats antiguos */
    position: static !important;
    /* Evitar que flote raro */
  }

  /* 3. Columna Principal (Productos) */
  .page-layout-2columns-left .column.main {
    order: 2 !important;
    /* Visualmente SEGUNDO (Derecha) */
    width: 75% !important;
    /* El resto del ancho */
    flex-basis: 75% !important;
    float: none !important;
    padding-left: 0 !important;
    /* Limpiar paddings extraños */
  }
}

/* =========================================================================
   ESTILOS DE LA HOME (Figma) - Scoped to .cms-index-index
   ========================================================================= */

/* 1. TABS (Nuestra recomendación para ti) */
body.cms-index-index .page-wrapper .custom-tabs {
  margin: 20px auto;
  max-width: 1096px;
}

body.cms-index-index .page-wrapper .custom-tabs.ui-tabs {
  border: none;
}

body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav {
  border: none;
  background: transparent;
  margin: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-bottom: 1px solid #127277;
  position: relative;
  margin-bottom: 20px;
}

body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  background: transparent;
  box-shadow: none;
  min-width: 150px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: all 0.2s ease;
  outline: none;
}

body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li.ui-tabs-active,
body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li.ui-state-active {
  background-color: #fff;
  border-radius: 8px 8px 0 0;
  border: 1px solid #eee;
  border-bottom: 2px solid #127277;
  box-shadow: 0 -2px 4px rgba(4, 4, 4, 0.2);
  margin-bottom: -1px;
}

body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li a.ui-tabs-anchor,
body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li span.tab-title {
  display: block;
  width: 100%;
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: #444;
  text-decoration: none;
  font-weight: normal;
  border: none;
  background: transparent;
  font-size: 16px;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
}

body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li.ui-tabs-active a.ui-tabs-anchor,
body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li.ui-state-active a.ui-tabs-anchor {
  color: #127277;
  font-weight: bold;
}

body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li.ui-tabs-active a.ui-tabs-anchor::after,
body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li.ui-state-active a.ui-tabs-anchor::after {
  display: none;
}

/* Remover focus/outlines nativos en pestañas sin afectar sus estilos base */
body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li:focus,
body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li:active,
body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li:focus-within,
body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li:focus-visible,
body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li a:focus,
body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li a:active,
body.cms-index-index .page-wrapper .custom-tabs .ui-tabs-nav li a:focus-visible {
  outline: none;
}

.cms-index-index .custom-tabs .ui-tabs-panel {
  border: none;
  background: transparent;
  margin-top: 20px;
  padding: 0;
}

.cms-index-index .custom-tabs .ui-tabs-panel p {
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .cms-index-index .custom-tabs .ui-tabs-nav {
    overflow-x: auto;
  }

  .cms-index-index .custom-tabs .ui-tabs-nav li a.ui-tabs-anchor {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* 2. ALINEACION Y ANCHO DE BLOQUES HOME (1096px) */
/* Contenedores principales */
body.cms-index-index .page-wrapper .home-recos,
body.cms-index-index .page-wrapper .mis-cards-wrapper,
body.cms-index-index .page-wrapper .custom-cards-row,
body.cms-index-index .page-wrapper .product-carrusel {
  max-width: 1096px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  margin-bottom: 35px !important;
}

/* Margen inferior especifico para los Tabs (reemplaza a data-pb-style=SP4JREF) */
body.cms-index-index .page-wrapper .custom-tabs.home-recos {
  margin-bottom: 90px !important;
}

/* Titulos PageBuilder (Forzar alineacion izquierda sobre grilla de 1096px) */
body.cms-index-index .page-wrapper .column.main h2[data-content-type="heading"],
body.cms-index-index .page-wrapper .column.main h3[data-content-type="heading"] {
  max-width: 1096px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left !important;
  align-self: center !important;
}

body.cms-index-index .page-wrapper .product-carrusel,
body.cms-index-index .page-wrapper .custom-tabs .tabs-content,
body.cms-index-index .page-wrapper .pagebuilder-column-group,
body.cms-index-index .page-wrapper .pagebuilder-column,
body.cms-index-index .page-wrapper .row-max-width {
  overflow: visible;
}

body.cms-index-index .page-wrapper .product-carrusel {
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 1096px;
}

/* Flechas */
body.cms-index-index .page-wrapper .product-carrusel .slick-slider .slick-prev,
body.cms-index-index .page-wrapper .product-carrusel .slick-slider .slick-next {
  width: 48px;
  height: 48px;
  background-color: #767676;
  border-radius: 50%;
  color: transparent;
  text-indent: -9999px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  border: none;
  padding: 0;
  opacity: 1;
}

body.cms-index-index .page-wrapper .product-carrusel .slick-slider .slick-prev:hover,
body.cms-index-index .page-wrapper .product-carrusel .slick-slider .slick-next:hover {
  background-color: #EC0000;
  opacity: 1;
}

body.cms-index-index .page-wrapper .product-carrusel .slick-slider .slick-prev {
  left: -24px;
}

body.cms-index-index .page-wrapper .product-carrusel .slick-slider .slick-prev:before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid white;
  border-left: 3px solid white;
  transform: rotate(-45deg);
  position: absolute;
  top: 17px;
  left: 20px;
}

body.cms-index-index .page-wrapper .product-carrusel .slick-slider .slick-next {
  right: -24px;
}

body.cms-index-index .page-wrapper .product-carrusel .slick-slider .slick-next:before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid white;
  border-right: 3px solid white;
  transform: rotate(45deg);
  position: absolute;
  top: 17px;
  right: 16px;
}

/* Tarjetas y Contenido */
body.cms-index-index .page-wrapper .product-carrusel .product-item,
body.cms-index-index .page-wrapper .product-items.widget-product-carousel .slick-slide.product-item {
  background-color: #ffffff;
  border: 1px solid #e3e3e3;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 0;
  min-width: 200px;
  height: 352px;
}

.cms-index-index .product-items.widget-product-carousel .slick-slide.product-item .product-item-info {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  box-shadow: none;
  padding: 0;
}

.cms-index-index .product-items.widget-product-carousel .slick-slide.product-item .product-item-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

body.cms-index-index .page-wrapper .product-carrusel .product-item-name {
  margin-bottom: 10px;
}

body.cms-index-index .page-wrapper .product-carrusel .product-item-name a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 50px;
  max-width: 163px;
  margin: 10px auto 0 auto;
  font-family: 'SantanderText', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: #333;
}

/* Ofertas (Figma Label) */
body.cms-index-index .page-wrapper .product-carrusel .product-item:has(.old-price)::before {
  content: '-33%';
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #EC0000;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 10;
}

/* Precios */
.cms-index-index .product-carrusel .price-box {
  margin-top: auto;
  margin-bottom: 12px !important;
}

.cms-index-index .product-carrusel .price-box .price {
  font-family: 'SantanderText', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: #EC0000;
  display: block;
}

.cms-index-index .product-carrusel .price-box .old-price .price {
  font-family: 'SantanderText', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  text-decoration: line-through;
  color: #999;
  display: block;
}

.cms-index-index .product-carrusel .slick-slide {
  margin: 0;
  padding: 0 10px;
}

.cms-index-index .product-carrusel .slick-list {
  margin: 0 -10px;
  padding: 15px 0;
}

.cms-index-index .product-items.widget-product-carousel .slick-slide.product-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  width: 100%;
}

.cms-index-index .product-carrusel .product-image-photo .hover_image img {
  display: none;
}

/* Botón Agregar al carro */
.cms-index-index .product-carrusel .product-item-info .product-item-details .product-item-actions .tocart {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #e20714;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid #e20714;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 0 16px;
  width: 125px;
  height: 32px;
  min-width: 112px;
  margin: 0 auto;
  text-transform: none;
  /* Sentene case en lugar de mayúsculas */
}

.cms-index-index .product-carrusel .product-item-info .product-item-details .product-item-actions .tocart:before {
  display: none;
}

/* Borde redondeado 10px a los thumbnails de la galería */
.catalog-product-view .product.media .fotorama__thumb,
.catalog-product-view .product.media .fotorama__thumb-border {
  border-radius: 10px !important;
}

.cms-index-index .product-carrusel .product-item-info .product-item-details .product-item-actions .tocart:hover {
  background-color: #e20714;
  color: #fff;
}

.cms-index-index .product-item-actions .actions-secondary {
  display: none !important;
}

.cms-index-index .product-item .product-reviews-summary {
  display: none !important;
}

/* Sombra en el borde de la card (Hover) en vez de la imagen */
body.cms-index-index .page-wrapper .product-item:hover .product-item-info,
body.cms-index-index .page-wrapper .product-item:hover .product-image-wrapper,
body.cms-index-index .page-wrapper .product-item-info:hover {
  box-shadow: none !important;
}

body.cms-index-index .page-wrapper .product-carrusel .product-item:hover,
body.cms-index-index .page-wrapper .product-items.widget-product-carousel .product-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12) !important;
  transform: translateY(-2px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Dots */
.cms-index-index .product-carrusel .slick-dots {
  display: flex;
  justify-content: center;
  margin-top: 23px;
  padding: 0;
  list-style: none;
  gap: 15px;
}

.cms-index-index .product-carrusel .slick-dots li {
  margin: 0;
}

.cms-index-index .product-carrusel .slick-dots li button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #767676;
  border: none;
  padding: 0;
  font-size: 0;
  color: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cms-index-index .product-carrusel .slick-dots li button:before {
  display: none;
}

.cms-index-index .product-carrusel .slick-dots li.slick-active button {
  background-color: #EC0000;
}

@media (max-width: 768px) {
  .cms-index-index .product-carrusel {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px;
    gap: 10px;
    scroll-behavior: smooth;
    max-width: 100%;
  }

  .cms-index-index .product-carrusel .slick-prev,
  .cms-index-index .product-carrusel .slick-next {
    display: none;
  }
}

/* Controlando las reglas de margen para mantener los 20px de gap */
body.cms-index-index .page-wrapper .product-items.widget-product-carousel .slick-slide {
  padding: 0 10px !important;
  margin: 0 !important;
}

body.cms-index-index .page-wrapper .product-items.widget-product-carousel .slick-list {
  margin: 0 -10px !important;
}

/* Fix para los popups modales de confirmación de Magento (ej: borrar item del minicart) */
.modals-overlay {
  z-index: 9999 !important;
}

.modals-wrapper .modal-popup,
.modal-popup._show {
  z-index: 10000 !important;
}

/* Fix product page image gallery height and alignment */
.catalog-product-view .product.media .fotorama__stage {
  height: 650px !important;
  max-height: 650px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.catalog-product-view .product.media .fotorama__stage__shaft {
  height: 100% !important;
}

.catalog-product-view .product.media .fotorama__img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* Ocultar barra de navegación rápida de Mirasvit (redundante con barra custom) */
.mst-quick-nav__filterList {
  display: none !important;
}