
/*=================================================
NEW y OUTLET DENTRO DEL DETALLE DEL PRODUCTO
=================================================*/
.new-indicatordp, 
.outlet-indicatordp {
  position: relative;
  top: -2%;
  left: 2%;
  background: linear-gradient(45deg, #28a745, #5ec85e);
  color: white;
  padding: 0.6vw 1.2vw; /* Más compacto */
  font-weight: bold;
  font-size: 1vw; /* Tamaño inicial más pequeño */
  text-transform: uppercase;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  font-family: Arial, sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.8s ease-in-out;
  white-space: nowrap;

}

/* Estilo específico para outlet */
.outlet-indicatordp {
  background: linear-gradient(45deg, #ff0000, #ff6600);
}

/* Adaptación para pantallas pequeñas */
@media (max-width: 768px) {
  .new-indicatordp, 
  .outlet-indicatordp {
    font-size: 2.5vw; /* Un poco más grande en móviles */
    padding: 1.2vw 2vw;
    top: 5px;
    left: 5px;
  }
}
/* Efecto de entrada suave */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}


/*=================================================
AVISO CANTIDAD MÍNIMA
=================================================*/
.product-minimal-qty {
  margin: 0.75rem 0;
}
.alert-minimum-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.alert-minimum-qty .alert-icon {
  font-size: 1.125rem;
  color: #d32f2f;
  flex-shrink: 0;
}
.alert-minimum-qty .alert-text {
  margin: 0;
  font-weight: 400;
  background-color: #ffebee;
  border: 1px solid #ef5350;
  border-left: 4px solid #f44336;
  color: #c62828;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.alert-minimum-qty strong {
  font-weight: 600;
  color: #b71c1c;
}
/* Variante alternativa con estilo de advertencia */
.alert-minimum-qty.warning .alert-text {
  background-color: #fff3cd;
  border-color: #ffeaa7;
  border-left-color: #f39c12;
  color: #856404;
}
.alert-minimum-qty.warning .alert-icon {
  color: #f39c12;
}
.alert-minimum-qty.warning strong {
  color: #856404;
}



/*=================================================================
CSS DE LOS MATERIALES
=================================================================*/
/*Esto es el CSS de los materiales*/
.material-block {
  padding: 1.25rem 0;
  border-bottom: 1px solid #e9ecef;
}

.material-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 1rem;
}

.material-icon {
  width: 28px;
  height: 28px;
  background-color: #e9ecef;
  border-radius: 0.375rem;
  font-size: 1rem; /* solo si es texto/icon font */
  color: #6c757d;
}

.material-text {
  font-size: 1rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.material-body {
  max-width: 100%;
}

.material-block .material-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  margin-right: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.material-block .material-image figure {
  margin: 0;
}

.material-block .material-image img {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
  padding: 0.25rem;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-block .material-image img:hover {
  transform: scale(1.1);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.material-block .material-image figcaption {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 0.4rem;
  line-height: 1.2;
  word-break: break-word;
}

/*FIN DE LOS MATERIALES*/
/*=================================================
BANNER TARA
=================================================*/
.product-tara-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff2f0;
    color: #d32f2f;
    font-weight: 600;
    padding: 6px 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #f5c6c3;
    font-size: 0.875rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.product-tara-banner .tara-icon {
    margin-right: 6px;
    font-size: 1rem;
}

/*=================================================
AVISO DE NO MARCAJE DISPONIBLE
=================================================*/
.no-marcaje-wrapper {
    display: flex;
    justify-content: center;
  }

  .no-marcaje {
    max-width: 480px;
    transition: all 0.3s ease;
  }

  .no-marcaje:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  }

  .icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: #f0f0f0;
  }

  .icon-wrapper i {
    font-size: 36px;
    color: #888;
    line-height: 1;
  }

/*=================================================
CARACTERÍSTICAS
=================================================*/
/* Contenedor de traits */
.trait-block {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* separación entre logos */
  margin: 0.5rem 0;
  justify-content: flex-start;
  align-items: center;
}

/* Imagen de trait */
.trait-block .trait-image {
  width: 4rem; /* tamaño base */
  height: 4rem;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
  cursor: default;
  will-change: transform, opacity;
}

/* Hover ligero y elegante */
.trait-block .trait-image:hover {
  transform: scale(1.4);
  opacity: 0.9;
}

/* Responsive: logos más pequeños en tablets */
@media (max-width: 1024px) {
  .trait-block .trait-image {
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* Responsive: logos más pequeños en móviles */
@media (max-width: 768px) {
  .trait-block .trait-image {
    width: 2.8rem;
    height: 2.8rem;
  }
}

/* Responsive: muy pequeños en pantallas muy chicas */
@media (max-width: 480px) {
  .trait-block .trait-image {
    width: 2.2rem;
    height: 2.2rem;
  }
}