/* =========================
   TUS ESTILOS ORIGINALES
   (Con ajuste de ancho de imagen aplicado)
========================= */

/* Sección de regalos ecológicos */
.regalos-ecologicos-section {
  position: relative;
  padding: 60px 30px;
  background: linear-gradient(135deg, #f9f9fa, #f0f7f0);
  border-radius: 12px;
  margin: 60px auto;
  max-width: 1200px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.regalos-ecologicos-section::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: linear-gradient(to bottom, #2e8b57, #4caf50, #8bc34a);
}

.section-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* --- AJUSTE EXPERTO AQUÍ --- */
/* Hemos quitado el ancho fijo de 160px aquí para controlarlo por Media Queries */
.image-column {
  margin: 0; 
  padding: 0;
}

.image-spotlight {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
  width: 100%;
}

.image-container:hover {
  transform: translateY(-6px);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  object-fit: cover;
}

.image-container:hover img {
  transform: scale(1.03);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.15));
  pointer-events: none;
}

/* Columna de contenido */
.content-column {
  flex: 1;
  max-width: 700px;
}

.section-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #4caf50;
  margin-bottom: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.content-column h3 {
  font-size: 30px;
  color: #333;
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.content-column p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.content-column strong {
  color: #2e8b57;
  font-weight: 600;
}

/* Beneficios */
.eco-benefits {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: rgba(76, 175, 80, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 18px;
  height: 18px;
  color: #4caf50;
}

.benefit-item span {
  font-size: 15px;
  color: #444;
}

/* Botón CTA */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #4caf50;
  color: #333333;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.cta-button:hover {
  background-color: #388e3c;
  transform: translateY(-2px);
  color: #ffffff;
}

.cta-button:hover svg {
  transform: translateX(4px);
}

.cta-button svg {
  transition: transform 0.3s ease;
}

/* =========================
   MEDIA QUERIES (AQUÍ ESTÁ LA MAGIA)
========================= */

/* DESKTOP GRANDE */
@media (min-width: 1200px) {
  .image-column {
    /* CORRECCIÓN SEO: 350px en lugar de 160px para que destaque la imagen */
    flex: 0 0 350px !important;
    width: 350px !important;
    max-width: 350px !important;
  }
  
  .content-column h3 {
    font-size: 32px;
  }
}

/* Responsive - Tablets (Entre 992px y 1200px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .image-column {
    /* Un tamaño intermedio para laptops pequeñas */
    flex: 0 0 300px !important;
    width: 300px !important;
    max-width: 300px !important;
  }
}

/* Responsive - Tablets Verticales */
@media (max-width: 991px) {
  .regalos-ecologicos-section {
    padding: 50px 25px;
  }

  .section-wrapper {
    gap: 40px;
  }
  
  .image-column {
    /* Ajustado para tablet vertical */
    flex: 0 0 280px !important;
    width: 280px !important;
    max-width: 280px !important;
  }

  .content-column h3 {
    font-size: 26px;
  }
}

/* Responsive - Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
  .regalos-ecologicos-section {
    padding: 40px 25px;
    margin: 40px auto;
  }

  .regalos-ecologicos-section::before {
    width: 100%;
    height: 4px;
    top: 0;
    right: 0;
    background: linear-gradient(to right, #2e8b57, #4caf50, #8bc34a);
  }

  .section-wrapper {
    flex-direction: column;
    gap: 35px;
  }

  /* En móvil dejamos que ocupe todo el ancho */
  .image-column, .content-column {
    flex: 1 !important;
    width: 100% !important; 
    max-width: 100% !important;
  }

  .image-container {
    width: 80%; /* Opcional: puedes ponerlo al 100% si prefieres */
    margin: 0 auto;
  }
}

/* Responsive - Móviles */
@media (max-width: 576px) {
  .regalos-ecologicos-section {
    padding: 35px 20px;
    border-radius: 10px;
    margin: 30px 15px;
  }

  .image-container {
    width: 70%;
  }

  .content-column h3 {
    font-size: 22px;
  }

  .content-column p {
    font-size: 15px;
  }

  .eco-benefits {
    gap: 12px;
    margin-bottom: 25px;
  }

  .benefit-item span {
    font-size: 14px;
  }
}

/* Responsive - Móviles pequeños */
@media (max-width: 375px) {
  .regalos-ecologicos-section {
    padding: 30px 15px;
  }

  .image-container {
    width: 60%;
  }

  .content-column h3 {
    font-size: 20px;
  }

  .benefit-icon {
    width: 30px;
    height: 30px;
  }

  .benefit-icon svg {
    width: 16px;
    height: 16px;
  }
}