/* Bloque general del catálogo */
.ins-tile--products {
  padding: 3rem 1rem;
  background: #fdfbf8; /* un beige muy suave */
}

/* Título “CATÁLOGO” */
.ins-tile--products h2.ins-tile__headline {
  font-family: Lato, sans-serif;
  font-size: clamp(32px, 4vw, 40px);
  text-align: center;
  font-weight: 700;
  color: #4e3b2f;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  margin-top: 2rem;
  text-transform: uppercase;
  text-shadow: 2px 1px 3px rgba(0,0,0,0.15);
}


hr {
  border: none; 
  background-color: #4e412a; 
  height: 1px;

  }

/* Nombre de la categoría */
.catalogo-categoria {
  font-size: clamp(28px, 3vw, 36px);
  text-align: center;
  font-weight: 600;
  margin: 1rem 0 2rem;
  color: #6b4d36;
  padding-bottom: 50px;
  padding-top: 50px;
  grid-column: 1 / -1;    /* ocupa todas las columnas del grid */
}



/* Contenedor de productos */
.ins-component__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 5px !important;
}

/* Tarjeta de producto */
.ins-component__item {
  background: #fff;
  border: 1px solid transparent;     /* Borde invisible por defecto */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ins-component__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: #b8a27b;           
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
}

/*.ins-component__bg-image {
 background-color: #f0f0f0 !important;
 border: 1px solid #f0f0f0;
}*/

.ins-component__label {
 color: crimson;
 font-weight: 700;
}

.ins-component__bg {
 background-color: #f0f0f0 !important;
 border: 1px solid #f0f0f0;
}

/* Imagen */
.ins-component__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ocupa todo el recuadro */
  overflow: hidden;
}

.ins-component__bg-image {
    overflow: hidden;
    padding-top: 3px;
}

/* Título del producto */
.ins-component__title-inner {
  font-size: 1.1rem;
  font-weight: 500;
  color: #4e3b2f;
  padding: 1rem;
  text-align: center;
  line-height: 1.4;
}

/* Precio */
.ins-component__price-value {
  display: block;
  text-align: center;
  padding-bottom: 1rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #7b4d2f;
}

/* Hace que el interior de la tarjeta sea una columna flexible */
.ins-component__item-wrap {
    display: flex;
    flex-direction: column;
    height: 100%; /* Necesario para que ocupe todo y pueda empujar el precio */
}

/* Empuja el precio al fondo */
.ins-component__price {
    margin-top: auto;
}


/***************************************************************************/

/* Animaciones suaves */
.ins-component__item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ins-component__title-inner,
.ins-component__price-value {
  transition: color 0.25s ease, transform 0.25s ease;
}

/* Hover general de la tarjeta */
.ins-component__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Título y precio al pasar el ratón */
.ins-component__item:hover .ins-component__title-inner {
  color: #a5662b;      /* un marrón más cálido */
  transform: scale(1.05);
}

.ins-component__item:hover .ins-component__price-value {
  color: #8c4a20;      /* tono un poco más intenso */
  transform: scale(1.07);
}

