/* Reset básico */
* {
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #fafafa;
    color: #333;
  }
  
  /* PORTADA */
  
  .portada {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
  }
  
  .portada-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.4);
    transition: filter 0.3s ease;
  }
  
  .portada:hover .portada-img {
    filter: brightness(0.55);
  }
  
  .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 114, 36, 0.8), rgba(245, 114, 36, 0.6));
    mix-blend-mode: multiply;
    pointer-events: none;
    border-radius: 0 0 40px 40px;
  }
  
  .portada-texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 0 15px;
    max-width: 700px;
  }
  
  .portada-texto h1 {
    font-size: 3.8rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  }
  
  .portada-texto p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  }
  
  .btn-explorar {
    display: inline-block;
    background-color: #f57224;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 16px 50px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(245, 114, 36, 0.5);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .btn-explorar:hover {
    background-color: #d44e00;
    box-shadow: 0 10px 30px rgba(212, 78, 0, 0.7);
  }
  
  /* PRODUCTOS DESTACADOS */
  
  .productos-destacados {
    max-width: 1100px;
    margin: 60px auto 80px;
    padding: 0 20px;
  }
  
  .productos-destacados h2 {
    font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 45px;
    color: #f57224;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  
  /* Lista de productos como tarjetas */
  
  .product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .product-item {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(245, 114, 36, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    cursor: pointer;
  }
  
  .product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(245, 114, 36, 0.3);
  }
  
  .product-item a {
    color: inherit;
    text-decoration: none;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
  }
  
  .product-item:hover img {
    transform: scale(1.05);
  }
  
  .product-item h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    font-weight: 800;
    color: #f57224;
  }
  
  .price {
    font-weight: 700;
    color: #d44e00;
    font-size: 1.2rem;
    margin-bottom: 16px;
  }
  
  .product-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
    flex-grow: 1;
  }
  
  /* Responsive */
  
  @media (max-width: 768px) {
    .portada-texto h1 {
      font-size: 2.6rem;
    }
  
    .portada-texto p {
      font-size: 1.2rem;
    }
  
    .btn-explorar {
      padding: 14px 40px;
      font-size: 1.1rem;
    }
  
    .productos-destacados h2 {
      font-size: 2rem;
      margin-bottom: 30px;
    }
  
    .product-item img {
      height: 160px;
    }
  }
  
  @media (max-width: 480px) {
    .portada-texto h1 {
      font-size: 2rem;
    }
  
    .portada-texto p {
      font-size: 1rem;
    }
  }

/* PRODUCT PAGE */

.product-page {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.product-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 20px 50px rgba(245, 114, 36, 0.2);
  margin-bottom: 40px;
}

.product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.product-hero-overlay {
  position: absolute;
  bottom: 30px;
  left: 35px;
  color: white;
}

.product-hero-overlay h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin: 0 0 10px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.product-badge {
  background-color: #f57224;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-body {
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(245, 114, 36, 0.12);
  padding: 40px;
}

.product-price-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid #fef0e7;
}

.product-price-label {
  font-size: 1rem;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-price-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #f57224;
}

.product-description {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 35px;
}

.btn-comprar {
  display: inline-block;
  background-color: #f57224;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 45px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(245, 114, 36, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-right: 20px;
}

.btn-comprar:hover {
  background-color: #d44e00;
  box-shadow: 0 10px 30px rgba(212, 78, 0, 0.6);
}

.back-link {
  color: #f57224;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: #d44e00;
}
  
