body {
  font-family: "Segoe UI", "Times New Roman", serif;
  background-color: #f8f8f8;
  padding: 0;
  margin: 0;
}

/* Encabezado */
.encabezado {
  background-color: #286847;
  padding: 0.5rem 1rem;
  width: 100%;
  
}

/* Contenedor logo + menú */
.contenedor-encabezado {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

/* Logo */
.logo {
  height: 85px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.logo:hover {
  transform: scale(1.05);
}

/* Menú horizontal */
.encabezado-sitio__lista-navegacion {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

/* Enlaces */
.encabezado-sitio__enlace-navegacion {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 4px;
}

.encabezado-sitio__enlace-navegacion:hover {
  color: #004d26;
  border-bottom: 2px solid #004d26; 
}


/* Dropdown Categoría */
.dropdown {
  position: relative;
}


/* Estilos base del menú desplegable */
.dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #f8f9fa;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: absolute;
  display: none; /* oculto por defecto */
  z-index: 999; /* asegura que quede encima */
}

/* Mostrar el menú al pasar el mouse */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Estilo de los enlaces dentro del menú */
.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-radius: 4px;
}

/* Efecto hover bien visible */
.dropdown-menu li a:hover {
  background-color: #d1efe7;
  color: rgb(18, 18, 18);
  transform: translateX(4px);
}

/* Contenedor principal */
.contenedor {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    margin-top: 30px;
    
}
table {
    border-collapse: collapse;
    transform: scale(0.9);
    margin-top: 80px;
}
.miniatura {
    max-width: 110px;
}
.principal {
    max-width: 350px;
    border: 2px solid #aaa;
    background-color: #fff;
    padding: 4px;
    border-radius: 8px;
}
img:hover {
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Información del producto */
.info {
    max-width: 400px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.info h1 {
    margin-top: 0;
    color: #484747;
}
.info h3 {
    color: #484747;
}
.info p {
    font-size: 15px;
    color: #484747;
}

/* Productos relacionados */
.contenedor-productos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.contenedor-productos h2{
    color: #484747;
    font-family: "Segoe UI", "Times New Roman", serif;

}
.producto {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    width: 240px;
    min-height: 360px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.imagen {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}
.info .oferta {
    color: green;
    font-weight: bold;
}
.info .pago {
    color: #0072CE;
    font-weight: bold;
    margin-top: 6px;
}

/* Descripción */
.descripcion-producto {
    background: #fff;
    border: 1px solid #edeaea;
    border-radius: 10px;
    padding: 15px;
    margin-top: 30px;
    width: 100%;
    max-width: 720px;
}
.descripcion-producto h3 {
    color: #737475;
    margin-bottom: 8px;
}
.descripcion-producto ul {
    padding-left: 20px;
    line-height: 1.6;
    color: #737475;
}
hr {
    border: none;
    border-top: 1px dashed #bbb;
    margin: 12px 0;
}
.descripcion-producto{
    color:#737475;
}

/* Estilo del label como botón */
.btn-pago {
    color: #0072CE;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
}

/* Contenedor de medios de pago, oculto por defecto */
.medios-pago {
    display: none;
    margin-top: 8px;
    background-color: #f0f8ff;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
}
.medios-pago li:hover {
    background-color: #cce2f8;
    transform: translateY(-2px);
    transition: all 0.3s ease;
    border-radius: 4px;
}


/* Mostrar bloque cuando el checkbox está activado */
input[type="checkbox"]:checked + .btn-pago + .medios-pago {
    display: block;
}
.btn-pago:hover {
  background-color: #cce2f8;
  transform: translateY(-2px);
}
/* Responsivo */
@media (max-width: 768px) {
    .contenedor {
        flex-direction: column;
        align-items: center;
    }
    .principal {
        max-width: 90%;
    }
}




