.contenedor-visual {
  padding: 0 150px; 
}

.hero-product-section .stk-row.stk-inner-blocks {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  margin-bottom: 20px;
}

.hero-product-section .stk-block-text__text,
.hero-product-section .stk-block-heading__text {
  color: #ffffff !important;
  text-align: left !important;
}

.hero-product-section .stk-block-heading__text {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-product-section .stk-block-button .stk-button {
  background-color: #ffffff;
  color: #111518;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.hero-product-section .stk-block-button .stk-button:hover {
  background-color: #cccccc;
}

.hero-product-section .stk-block-column[data-block-id="2e76a7b"] {
  flex: 0 0 50%;
  max-width: 50%;
  text-align: right;
}

.producto-aleatorio-imagen {
  width: 100%;
  max-width: 350px;
  display: inline-block;
  border-radius: 45%;
}

.producto-ultimo-imagen {
  width: 100%;
  max-width: 300px;
  border-radius: 45%;
  margin-left: 150px;
}

.producto-oferta-imagen {
  width: 100%;
  max-width: 240px;
  border-radius: 45%;
  margin-left: 200px;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .contenedor-visual {
    padding: 0px; 
  }
  
  .hero-product-section .stk-row.stk-inner-blocks {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  /* Centrar títulos y textos */
  .hero-product-section .stk-block-heading__text,
  .hero-product-section .stk-block-text__text {
    text-align: center !important;
    font-size: 2rem; 
  }
  
  /* Hacer que cada columna ocupe el 100% */
  .hero-product-section .stk-block-column {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }
  
  /* Quitar márgenes extras en las imágenes para que se adapten */
  .producto-aleatorio-imagen,
  .producto-ultimo-imagen,
  .producto-oferta-imagen {
    margin-left: 0;
    max-width: 100%;
  }
}

.imagen-categoria {
  min-height: 250px;
  border-radius: 20px;  
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease-in-out;
  background-size: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  border: 2px solid #213b4f; 
}

/* Efecto overlay en hover para todos */
.imagen-categoria::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0); 
  z-index: 1;
  transition: background 0.3s ease-in-out;
}

.imagen-categoria:hover {
  transform: scale(1.02);
  border-color: var(--theme-palette-color-1); 
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.imagen-categoria .stk-block-content {
  position: relative;
  z-index: 2;
  color: #535353;
}

.imagen-categoria .stk-block-heading__text {
  font-size: 1.5rem;
}
.imagen-categoria .stk-block-text__text {
  font-size: 1rem;
}

/* 1) imagen-categoria-1 */
.imagen-categoria-1 {
  background-position: center center;
}
/* Overlay color en hover */
.imagen-categoria-1:hover::before {
  background: rgba(46, 69, 181, 0.2); 
}

/* 2) imagen-categoria-2 */
.imagen-categoria-2 {
  background-position: left -10%;
}
/* Overlay color en hover */
.imagen-categoria-2:hover::before {
  background: rgba(87, 179, 145, 0.2); 
}

/* 3) imagen-categoria-3 */
.imagen-categoria-3 {
  background-position: left -10%;
}
/* Overlay color en hover */
.imagen-categoria-3:hover::before {
  background: #dfac4633;
}

/* 4) imagen-categoria-4 */
.imagen-categoria-4 {
  background-position: left -10%;
  background: no-repeat;
}
/* Overlay color en hover */
.imagen-categoria-4:hover::before {
  background: rgba(44, 40, 40, 0.2); 
}

/* Estilo general para contenedores de información */
.prd-info-container {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Título de precios especiales */
.prd-precios-title {
  font-weight: bold;
  font-size: 14px;  
  margin-bottom: 10px;
  color: #333; 
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Cambio de color al pasar el mouse sobre el título */
.prd-precios-title:hover {
  color: #555;  
}

/* Icono de oferta para los precios */
.prd-precio-icon {
  font-size: 18px;
  color:var(--theme-palette-color-1);  
  margin-right: 5px;
}

/* Contenedor de precios por mayoreo */
.prd-precios-mayoreo {
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Estilo de los precios */
.prd-precio {
  font-weight: bold;
  color: #333;  
  font-size: 16px;  
  display: inline-block;
}

/* Leyenda "Por unidad" junto al precio */
.prd-precio-leyenda {
  font-size: 12px;
  color: #777;
  margin-left: 10px;
  display: inline-block;
  vertical-align: top;
}

/* Estilo para los precios especiales */
.prd-precio-personalizado {
  padding: 10px 0;
  font-size: 18px;  
  font-weight: bold;
  color: #333; 
}

/* Caja con nota personalizada */
.prd-nota-especial {
  background-color: #f1f1f1;
  border-left: 4px solid var(--theme-palette-color-1);  /* Color de acento */
  padding: 10px;
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

/* Estilo para el stock por sucursal */
.prd-stock-sucursal {
  margin-top: 20px;
}

/* Lista de precios por mayoreo y stock */
.prd-lista-precios {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prd-item-precio, .prd-item-stock {
  padding: 10px;
  border-bottom: 1px solid #ddd;  
}

.prd-item-precio strong, .prd-item-stock strong {
  color: #333; 
}

/* Estilo para el enlace "Ver más" */
.prd-ver-mas {
  color: #555;  
  font-weight: normal;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  display: inline-block;
  margin-top: 10px;
}

/* Efecto de hover sobre "Ver más" */
.prd-ver-mas:hover {
  text-decoration: underline;
}

/* Estilo del enlace "Ver más" cuando se está mostrando */
.prd-ver-mas-visible {
  font-style: italic;
  color: #777; 
}
