/* ================================
   LAYOUT PRODUCTO
   ================================ */

.separador{
    display: none;
}


.producto-container {
  display: flex;
  margin: 80px auto;
  max-width: 1200px;
  padding: 0 32px;
  align-items: flex-start;

   
}

/* ================================
   IMAGEN PRODUCTO – PREMIUM
   ================================ */

.producto-imagen {
  position: relative;
  flex-shrink: 0;
  border-radius: 26px;
  overflow: hidden;
  margin-top: 5%;
}

/* Glass highlight */
.producto-imagen::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

/* Imagen */
.producto-imagen img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  display: block;
  border-radius: 26px;  
  transition: transform 0.45s ease, filter 0.45s ease;

}

/* Hover premium */
.producto-imagen:hover img {
 transform: scale(1.02);

}

.producto-imagen:hover::before {
  opacity: 1;
}

/* ================================
   INFO PRODUCTO
   ================================ */

.producto-info {
  flex: 1;

  
}

.producto-nombre {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 8px;
 
  letter-spacing: 0.03em;
  line-height: 1.2;


  /* Gradiente premium */
  background: linear-gradient(90deg, #111111, #444444);
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* sombra sutil */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.producto-marca {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 32px;
  margin-top: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;


  /* Gris elegante con ligero degradado */
  background: linear-gradient(90deg, #666666, #999999);
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* sombra muy sutil */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}


/* ================================
   PRESENTACIONES
   ================================ */

.producto-presentaciones {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.opcion-pres2 {
  padding: 12px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
  background: rgba(248, 248, 248, 0.9);
  border: 1px solid rgba(200, 200, 200, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.opcion-pres2:hover {
  background: rgba(241, 241, 241, 0.95);
  border-color: rgba(170, 170, 170, 0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.opcion-pres2.active {
  background: linear-gradient(145deg, #616161, #000000);
    color: #fff;
}



.opcion-pres2.active::before {
  content: '';
  display: inline-block;
  
  /* Dimensiones del check */
  width: 5px;
  height: 10px;
  
  /* Dibujamos el check en blanco */
  border: solid #ffffff; 
  border-width: 0 2px 2px 0; /* Solo bordes derecho e inferior */
  
  /* Lo rotamos para darle forma */
  transform: rotate(45deg);
  
  margin-right: 10px;
  margin-bottom: 3px; /* Pequeño ajuste de alineación vertical */
  position: relative;
  z-index: 2;
}

.opcion-pres2::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: rgba(255, 255, 255, 0.16);
  opacity: 0;

  animation: materialScroll 1s linear both;
  animation-timeline: scroll(root);
}

/* Movimiento ligado al scroll */
@keyframes materialScroll {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0.18;
  }
  70% {
    opacity: 0.18;
  }
  100% {
    opacity: 0;
  }
}



/* ================================
   PRECIO
   ================================ */

.producto-precio {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 0;
  color: #111; /* negro elegante */
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
  margin-top: 0;

  /* sombra elegante para profundidad */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);


}



/* ================================
   BOTÓN PEDIR AHORA
   ================================ */
.btn-pedir-ahora i {
  margin-right: 8px;

}

.btn-pedir-ahora {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 32px;
  border-radius: 14px;
  background: linear-gradient(145deg, #1f7f5c, #1f7f5c);
  color: #ffffff;
  
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;


  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2), inset 0 -2px 0 rgba(255,255,255,0.1);

  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;

  margin-top: 19px;
}

.btn-pedir-ahora::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transform: skewX(-25deg);
  transition: all 0.5s ease;
}

.btn-pedir-ahora:hover::after {
  left: 125%;
}

.btn-pedir-ahora:hover {
  background: linear-gradient(145deg, #1f7f5c, #1f7f5c);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3), inset 0 -2px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px) scale(1.02);
}

.btn-pedir-ahora:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2), inset 0 -1px 0 rgba(255,255,255,0.1);
}


/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 900px) {
  .producto-container {
    flex-direction: column;
    gap: 48px;
    margin: 40px auto;
  }

  .producto-imagen {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        align-content: center;
  }

  .producto-imagen img {
    max-height: 320px;
  }
  
  .separador{
    display: block;
  }

  .producto-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
  }

  .producto-presentaciones {
    justify-content: center;
    width: 100%;
  }
  /* IMAGEN */
  .producto-imagen {
    width: 100%;
    max-width: 420px;
  }

  .producto-imagen img {
    max-height: 420px;
  }

  /* INFO */
  .producto-info {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  /* MARCA */
  .marca {
    font-size: 14px;
    margin-bottom: 4px;
  }

  /* TITULO */
  .producto-titulo {
    font-size: 24px;
  }

  /* PRESENTACIONES */
  .presentaciones-container {
    justify-content: center;
  }

  /* PRECIO */
  .producto-precio {
    font-size: 30px;
  }

  /* BOTÓN */
  .btn-pedir-ahora {
  
    max-width: 380px;
  }

  /* STOCK */
  .stock-text {
    text-align: center;
    margin-bottom: 20px;
  }

  .producto-detalles p,
.producto-detalles li {
  font-size: 14px !important;
}

.producto-detalles h4,
.detalle h4{
  font-size: 16px !important;
}

.mp-item{
  display: block !important;
}

}


.stock-text {
  margin-bottom: 40px;
  font-size: 11px;
  font-weight: 700;
  color: #444;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #555, #888);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.stock-text.low-stock {

  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: breathe-glow 2.5s ease-in-out infinite;
}



@keyframes breathe-glow {
  0%, 100% {
    opacity: 1;
 
  }
  50% {
    opacity: 0.75;
  
  }
}


.stock-text.in-stock {
  color: #2e7d32;
}


.producto-detalles {
  max-width: 1100px;
  margin: 60px auto 60px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.producto-detalles.fade {
  opacity: 0;
  transform: translateY(10px);
}

.producto-detalles .detalle {
  padding: 15px 28px;
  border-radius: 16px;
  background: #fdfdfd; /* fondo blanco muy limpio */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* sombra suave y elegante */
  border: 1px solid #e8e8e8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-detalles .detalle:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08); /* elevación premium */
}

.producto-detalles h4,
.detalle h4 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 25px;
  margin-top: 12px;
  color: #111;
  position: relative;
}

.producto-detalles h4::after,
.detalle h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #111; /* línea negra minimalista */
  border-radius: 1px;
}

.producto-detalles p,
.producto-detalles li {
  font-size: 16px;
  line-height: 1.75;
  color: #222; /* gris oscuro elegante */
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.producto-detalles ul,
.producto-detalles ol {
  padding-left: 24px;
}

.producto-detalles li {
  position: relative;
  margin-bottom: 10px;
}

.producto-detalles li::before {
  content: '•';
  color: #111;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}



@media (max-width: 1024px) and (min-width: 768px) {

  /* INFO GENERAL */

    .volver-wrapper {
    padding-left: calc((100% - 520px) / 2);
    padding-right: 0;
  }

  .producto-container { flex-direction: row;}


  .producto-info {
    max-width: 600px;
    gap: 18px;
  }

  /* MARCA */
  .marca {
    font-size: 15px;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }

  /* NOMBRE DEL PRODUCTO */
  .producto-titulo {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  /* PRECIO */
  .producto-precio {
    font-size: 30px;
    margin: 12px 0;
  }



  /* STOCK */
  .stock-text {
    font-size: 13px;
    margin-top: 8px;
  }

}


.volver-wrapper {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 32px;
  display: flex;
  justify-content: flex-start;
}

.btn-volver {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin: 18px 0 32px;
  padding: 0;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;  

  background: none;
  border: none;

  cursor: pointer;
  opacity: 0.55;

  position: relative;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;

     appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Línea editorial ultra fina */
.btn-volver::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;

  transition: width 0.35s ease, opacity 0.35s ease;
}

/* Hover */
.btn-volver:hover {
  opacity: 0.95;
  transform: translateX(-2px);
}

.btn-volver:hover::before {
  width: 100%;
  opacity: 0.55;
}

button.btn-volver {
  color: #111 !important;
}




@media (max-width: 1130px) and (min-width: 768px) and (orientation: portrait) {

  .producto-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
  }

  .producto-presentaciones {
    justify-content: center;
    width: 100%;
  }
  /* IMAGEN */
  .producto-imagen {
    width: 100%;
    max-width: 420px;
  }

  .producto-imagen img {
    max-height: 420px;
  }

  /* INFO */
  .producto-info {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  /* MARCA */
  .marca {
    font-size: 14px;
    margin-bottom: 4px;
  }

  /* TITULO */
  .producto-titulo {
    font-size: 24px;
  }

  /* PRESENTACIONES */
  .presentaciones-container {
    justify-content: center;
  }

  /* PRECIO */
  .producto-precio {
    font-size: 30px;
  }



  /* STOCK */
  .stock-text {
    text-align: center;
  }
}

.contenedor-pago {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

/* Contenedor base más limpio */
.mp-item {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px; /* Un poco más de aire entre icono y texto */
  padding: 16px 20px; /* Padding más generoso = más premium */
  
  background: #ffffff;
  border: 1px solid #e5e5e5; /* Gris muy pálido, casi imperceptible */
  border-radius: 8px; /* Bordes menos redondos son más elegantes/serios */
  
  cursor: pointer;
  transition: all 0.2s ease-out;

  margin-bottom: 10px;
  max-width: 600px;
}

/* Manejo de Logos: La clave del B/N */
.mp-item img {
  width: 25px; /* Un poco más discretos */
  height: 28px;
  object-fit: contain;
  
  /* ESTO es lo que lo hace premium: Logos en escala de grises */
  filter: grayscale(100%); 
  opacity: 0.6; /* Un poco desvanecidos cuando no están activos */
  transition: all 0.2s ease;
}

/* Tipografía refinada */
.mp-item span {
  font-size: 14px;
  font-weight: 500; /* No tan grueso (600), 500 es más sofisticado */
  color: #666666; /* Gris oscuro en lugar de negro total para reposo */
  letter-spacing: 0.02em;
}

/* --- ESTADOS --- */

/* Hover: Sutileza */
.mp-item:hover {
  border-color: #000000; /* Borde negro al pasar el mouse */
  background: #fafafa;
}

.mp-item:hover span {
  color: #000000;
}

.mp-item:hover img {
  opacity: 1;
  filter: grayscale(0%); /* Opcional: Si quieres que recuperen color al pasar mouse */
  /* O mantenlo grayscale(100%) si quieres B/N estricto */
}

/* Activo: El contraste fuerte define lo premium */
.mp-item.active {
  border: 1.5px solid #000000; /* Borde sólido negro */
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Sombra difusa y suave */
}

.mp-item.active span {
  color: #000000;
  font-weight: 600; /* Un poco más de peso al seleccionar */
}

.mp-item.active img {
  filter: grayscale(0%); /* Devuelve el color original para confirmar selección */
  opacity: 1;
  transform: scale(1.05); /* Pequeño "pop" */
}

.mp-nota {
  margin-top: 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;


}

 .mp-titulo{
      font-size:15px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
    line-height: 1.2;
    -webkit-text-fill-color: transparent;
    text-shadow: rgba(0, 0, 0, 0.15) 0px 2px 6px;
    background: linear-gradient(90deg, rgb(17, 17, 17), rgb(68, 68, 68)) text;
 }

