body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: white;
  border-bottom: 1px solid #ccc;
  flex-wrap: wrap;
}
.logo-btn {
  background: none;
  border: none;
  padding: 0;
  margin-right: 30px;
  cursor: pointer;
  text-decoration: none;
}
.logo-btn h1 {
  font-size: 28px;
  color: #ff6a00;
  font-family: 'Segoe UI Black', 'Arial Black', sans-serif;
  letter-spacing: 2px;
  margin: 0;
  transition: color 0.2s;
}
.logo-btn:hover h1 {
  color: #870000;
  text-decoration: underline;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-bar input {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid #ccc;
  width: 400px;
}
.search-bar button {
  padding: 10px 20px;
  background-color: #ff6a00;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}
.user-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
}
.user-actions span {
  font-weight: bold;
  color: #333;
}
.user-actions a {
  text-decoration: none;
  color: #ff6a00;
  font-weight: bold;
  transition: color 0.2s;
}
.user-actions a:hover {
  color: #870000;
}
nav {
  background-color: white;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  font-size: 17px;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: color 0.2s;
}
nav a:hover {
  color: #ff6a00;
}
.banner {
  background: linear-gradient(to right, #870000, #ff6a00);
  text-align: center;
  padding: 40px 20px 20px 20px;
  color: white;
  font-size: 26px;
  font-weight: bold;
  position: relative;
}
.banner-logo {
  width: 220px;
  margin: 15px auto 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.13);
}
.productos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 35px 30px 30px 30px;
  background: #f7f7f7;
}
.producto {
  background-color: white;
  width: 210px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.09);
  padding: 15px;
  text-align: center;
  transition: box-shadow 0.2s;
  position: relative;
}
.producto:hover {
  box-shadow: 0 8px 18px rgba(0,0,0,0.13);
}
.producto img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 10px;
}
.producto h3 {
  font-size: 16px;
  margin: 10px 0 5px;
  font-weight: bold;
}
.producto p.precio {
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}
.producto a {
  text-decoration: none;
  color: #0073e6;
  display: block;
  margin-top: 5px;
  font-size: 15px;
  font-weight: bold;
}
.producto .etiqueta {
  margin-top: 5px;
  color: #26b72b;
  font-size: 13px;
  font-weight: bold;
}
.producto .ver-detalle {
  display: block;
  margin-top: 10px;
  background-color: #ff6a00;
  color: #fff;
  border-radius: 7px;
  padding: 5px 0;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}
.producto .ver-detalle:hover {
  background-color: #870000;
}
.apartado-vendedor {
  max-width: 700px;
  margin: 35px auto 0 auto;
  padding: 25px;
  background-color: #fffbe6;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  border: 1.5px solid #ff6a00;
}
.apartado-vendedor h2 {
  color: #ff6a00;
  font-size: 22px;
  margin-bottom: 14px;
  font-family: 'Segoe UI Black', 'Arial Black', sans-serif;
}
.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: flex-start;
}
.info-grid .info-block {
  flex: 1 1 210px;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 7px rgba(0,0,0,0.06);
  margin-bottom: 8px;
}
.info-block img {
  width: 100%;
  max-width: 160px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.info-block .label {
  font-weight: bold;
  color: #ff6a00;
  font-size: 15px;
  margin-bottom: 3px;
  display: block;
}
.info-block .valor {
  font-size: 15px;
  color: #333;
}
footer {
  background-color: #1d1d1d;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  header, nav, .banner, .productos, .apartado-vendedor, .info-grid, footer {
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
  }
  header {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 8px;
    gap: 10px;
  }
  .logo-btn {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .logo-btn h1 {
    font-size: 23px;
    margin-bottom: 8px;
  }
  .search-bar {
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 8px;
    padding: 0;
  }
  .search-bar input {
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
    font-size: 15px;
  }
  .search-bar button {
    width: 100%;
    margin-left: 0;
    padding: 8px;
    font-size: 15px;
  }
  .user-actions {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    font-size: 15px;
    margin-top: 7px;
    width: 100%;
  }
  nav {
    flex-direction: column;
    gap: 7px;
    align-items: stretch;
    font-size: 15px;
    padding: 10px 8px;
  }
  nav a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    border-radius: 0;
    border-bottom: 1px solid #eee;
    text-align: left;
  }
  .banner {
    padding: 18px 6px;
    font-size: 19px;
    text-align: center;
  }
  .banner-logo {
    width: 80vw;
    max-width: 180px;
    margin: 15px auto 0 auto;
  }
  .productos {
    flex-direction: column;
    gap: 16px;
    padding: 12px 4px 20px 4px;
  }
  .producto {
    width: 98vw;
    max-width: 99vw;
    margin: 0 auto;
    border-radius: 12px;
    padding: 10px;
  }
  .producto img {
    height: 120px;
    border-radius: 8px;
  }
  .apartado-vendedor {
    max-width: 99vw;
    padding: 8px;
    margin: 12px auto;
  }
  .info-grid {
    flex-direction: column;
    gap: 10px;
  }
  .info-block img {
    max-width: 110px;
  }
  footer {
    padding: 13px 0;
    font-size: 0.98em;
    margin-top: 18px;
  }
}

/* Estilos extra para pantallas muy pequeñas */
@media (max-width: 600px) {
  .logo-btn h1 {
    font-size: 18px;
  }
  .banner {
    font-size: 15px;
    padding: 12px 4px;
  }
  .banner-logo {
    max-width: 120px;
  }
  nav a {
    font-size: 14px;
    padding: 8px 0;
  }
  .producto {
    font-size: 14px;
    padding: 8px;
  }
}