* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .logo img {
    height: 60px;
  }
  
  .search-bar {
    flex: 1;
    margin: 0 20px;
    display: flex;
    align-items: center;
    background: #f0f8ff;
    border-radius: 30px;
    padding: 5px 15px;
  }
  
  .search-bar input {
    border: none;
    outline: none;
    background: transparent;
    padding: 8px;
    width: 100%;
    font-size: 16px;
  }
  
  .search-bar::before {
    content: '🔍';
    margin-right: 10px;
    font-size: 18px;
  }
  
  .header-icons {
    display: flex;
    gap: 15px;
  }
  
  .header-icons button {
    background: none;
    border: none;
    font-size: 14px;
    color: #007ACC;
    font-weight: bold;
    cursor: pointer;
  }
  
  .user-btn::before {
    content: '👤';
    margin-right: 5px;
  }
  
  .cart-btn::before {
    content: '🛒';
    margin-right: 5px;
  }
  
  /* 🛠 Corrección: nav principal */
  nav > ul {
    display: flex;
    justify-content: center;
    list-style: none;
    background: #f8f9fa;
    padding: 10px 0;
    flex-wrap: wrap;
  }
  
  nav > ul > li {
    position: relative;
    margin: 0 15px;
  }
  
  nav ul li {
    margin: 0 15px;
  }
  
  /* 🛠 Estilos enlaces menú */
  nav a {
    text-decoration: none;
    color: #007ACC;
    font-weight: 500;
    padding: 10px;
    display: block;
  }
  
  /* 🛠 Dropdown estilos */
  nav ul li ul.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    flex-direction: column;
  }
  
  nav ul li:hover ul.dropdown-content {
    display: flex;
  }
  
  nav ul li ul.dropdown-content li {
    margin: 0;
  }
  
  nav ul li ul.dropdown-content li a {
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    display: block;
  }
  
  nav ul li ul.dropdown-content li a:hover {
    background: #007ACC;
    color: #fff;
  }
  
  /* 🛠 Sección contenido */
  .content {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    flex: 1;
  }
  
  h1 {
    font-size: 2rem;
    color: #007ACC;
    margin-bottom: 10px;
  }
  
  .description {
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
  }
  
  /* 🛠 Producto principal */
  .product-card {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    display: flex;
    gap: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    flex-wrap: wrap;
  }
  
  .product-card img {
    max-width: 300px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ccc;
  }
  
  .product-info {
    flex: 1;
    min-width: 250px;
  }
  
  .product-info h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .product-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .product-info li button {
    padding: 8px 12px;
    border: 1px solid #000;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
  }
  
  .product-info li button:hover {
    background: #000;
    color: #fff;
  }
  
  .precio {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .product-info em {
    font-size: 14px;
    color: #666;
  }
  
  .product-info input[type="file"],
  .product-info textarea {
    width: 100%;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
  }
  
  .contador {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
  }
  
  .contador button {
    width: 35px;
    height: 35px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #eee;
    cursor: pointer;
  }
  
  .contador input {
    width: 50px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  /* 🛠 Botón Añadir al Carrito */
  .boton-compra {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007ACC;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
  }
  
  .boton-compra:hover {
    background-color: #005a99;
  }
  
  /* 🛠 Sección También te podría interesar */
  .product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
  }
  
  .product-grid .product-card {
    width: 200px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .product-grid .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
  }
  
  .product-grid .product-card img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
}
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 8px;
  }
  
  .product-grid .product-card p {
    font-size: 13px;
    margin: 4px 0;
  }
  
  /* 🛠 Footer */
  footer {
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
    padding: 30px 20px 20px;
    font-size: 14px;
    margin-top: auto;
  }
  
  .direccion, .correo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 5px 0;
  }
  
  .correo a {
    color: #007ACC;
    text-decoration: none;
  }
  
  .correo a:hover {
    text-decoration: underline;
  }
  
  /* 🛠 Botón WhatsApp */
  .whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
  }
  
  .whatsapp-btn img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  }
  nav ul li ul.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    flex-direction: column;
    list-style: none; /* 👈🏻 Agregado para quitar puntos */
  }
    