/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* NAVBAR */
header{
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFE4E1;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo img {
    width: 80px;
    height: 80px;
}

.navbar-logo span {
    font-size: 1.2em;
    font-weight: bold;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.navbar-links li a:hover {
    color: #ff0080;
}

.navbar-cart {
    cursor: pointer;
    font-size: 1.2em;
    position: relative;
}
.navbar-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.navbar-icons a {
    color: #333;
    font-size: 1.4em;
    transition: color 0.3s;
}

.navbar-icons a:hover {
    color: #ff0080;
}

#cart-count {
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8em;
    position: absolute;
    top: -10px;
    right: -10px;
}
/* BURGER MENU */
.burger-menu {
  display: none;
  cursor: pointer;
  font-size: 1.8em;
  color: #333;
  z-index: 1001;
}

@media (max-width: 768px) {
  .burger-menu {
    display: block;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #FFE4E1;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 999;
  }

  .navbar-links.active {
    display: flex;
  }
}

/* HERO SECTION */
.hero-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 80px 20px;
  background-image: 
    linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.2)),
    url('https://i.imgur.com/EyAym8K.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 500px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
}

.card img {
  display: block;
  width: 350px;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s, filter 0.5s;
}

.card:hover img {
  transform: scale(1.2);
  filter: brightness(1.2) saturate(1.2);
}

.card-text {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  width: 100%;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover .card-text {
  opacity: 1;
}
/* WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  padding: 15px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 10;
}

.whatsapp-button:hover {
  background: #1ebe5d;
}

.whatsapp-button img {
  width: 24px;
  margin-right: 10px;
}
/*SERVICIOS*/
.servicios-section {
  padding: 50px 10%;
  background: #FFE4E1;
  text-align: center;
}

.servicios-section h2 {
  font-size: 1.5rem;
  color: #bb5aa0;
  margin-bottom: 30px;
}

.servicios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 120px;
  justify-content: center;
}

.servicio {
  text-align: center;
  flex: 1 1 200px;
  max-width: 100px;
}

.servicio img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.servicio:hover img {
  transform: scale(1.05);
}

.servicio h3 {
  font-size: 1.1rem;
  color: #bb5aa0;
  margin: 10px 0 5px;
}


/* NOSOTROS SECTION */
.nosotros-section {
    padding: 60px 20px;
    background-color: #b6a9b7;
}

.nosotros-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.texto-nosotros {
    flex: 1 1 400px;
}

.texto-nosotros h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.texto-nosotros p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.imagen-nosotros img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.collage-nosotros {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1 1 400px;
}
.collage-nosotros img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
/* Efecto hover */
.collage-nosotros img:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
/*PRODUCTOS*/

.productos-section {
    padding: 60px 20px;
    background-color: #FFE4E1;
    text-align: center;
}

.productos-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.categoria-productos {
    margin-bottom: 50px;
}

.categoria-productos h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}

.producto {
    background-color: rgb(255, 249, 249);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 250px;
    transition: transform 0.3s;
}

.producto:hover {
    transform: scale(1.05);
}

.producto img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.producto h4 {
    margin: 10px 0 5px;
}

.producto p {
    font-weight: bold;
    color: #ec93d1;
}

.btn-agregar {
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #FFE4E1;
    color: black;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-agregar:hover {
    background-color: #ec93d1;
}
/*CARRITO*/
.carrito-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    background-color: #f8f8f8;
}

.datos-compra, .carrito-resumen {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex: 1 1 400px;
    max-width: 500px;
}

.datos-compra h3, .carrito-resumen h3 {
    margin-bottom: 15px;
    color: black;
    text-align: center;
}

.datos-compra input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.datos-compra .btn {
    background-color: #ec93d1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 10px;
    display: block;
    width: 100%;
}

.btn-cantidad, .btn-eliminar {
    background-color: #f8f8f8;
    color: black;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-cantidad:hover, .btn-eliminar:hover {
    background-color: #f8f8f8;
}

#total-carrito {
    font-weight: bold;
    font-size: 1.5em;
    color: #ec93d1;
    display: block;
    margin: 15px 0;
    text-align: center;
}

#paypal-button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.opcion-transferencia {
    margin-top: 30px;
    background-color: #fff0f5;
    padding: 15px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.opcion-transferencia h3 {
    color: #f66eb2;
    margin-bottom: 10px;
}

.opcion-transferencia p {
    margin: 5px 0;
}

.opcion-transferencia a {
    color: #009935;
    text-decoration: none;
}

.opcion-transferencia a:hover {
    text-decoration: underline;
}

/*UBICACIÓN Y CONTACTO*/
.ubicacion-contacto-section {
    padding: 60px 20px;
    background-color: #b6a9b7;
    text-align: center;
    color: #fff;
}

.ubicacion-contacto-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: black;
}

.ubicacion-contacto-contenido {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: left;
}

.ubicacion-info, .contacto-info {
    background-color: #FFE4E1;
    color: #333;
    border-radius: 15px;
    padding: 20px;
    flex: 1 1 400px;
    max-width: 450px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-size: 120%;
}

.ubicacion-info h3, .contacto-info h3 {
    margin-bottom: 10px;
    color: black;
    text-align: center;
}

.mapa-contenedor iframe {
    border-radius: 10px;
    width: 100%;
}

.contacto-info a {
    color: #ec93d1;
    text-decoration: none;
    font-weight: bold;
}

.contacto-info a:hover {
    text-decoration: underline;
}

.redes-sociales a {
    display: inline-block;
    margin-right: 10px;
    background-color: #ec93d1;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.redes-sociales a:hover {
    background-color: #e60073;
}
.stock-status {
  font-weight: bold;
  margin-bottom: 5px;
}
/*FOOTER*/
.footer {
  background-color: #f3e9f2;
  padding: 30px 10%;
  color: #333;
  margin-top: 40px;
}

.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo img {
  width: 60px;
  display: block;
  margin-bottom: 10px;
}

.footer-logo h3 {
  margin: 5px 0;
  color: #bb5aa0;
}

.footer a {
  color: #bb5aa0;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-contacto, .footer-redes {
  min-width: 200px;
}

.footer h4 {
  margin-bottom: 8px;
  color: #bb5aa0;
}
.boton-ver-todos {
  margin-top: 30px;
  display: inline-block;
  padding: 12px 24px;
  background-color: #ec93d1;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.boton-ver-todos:hover {
  background-color: #e60073;
}
.producto select {
  appearance: none; /* quitar diseño por defecto */
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: #fafafa;
  font-size: 1rem;
  font-family: inherit;
  margin: 10px 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.producto select:focus {
  outline: none;
  border-color: #ec93d1;
  box-shadow: 0 0 5px rgba(236, 147, 209, 0.4);
  background-color: #fff;
}
.btn-whatsapp {
  background-color: #25D366;
  color: white;
  font-weight: bold;
  width: 100%;
  padding: 12px 16px;
  font-size: 1.1em;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}

.icono-whatsapp {
  width: 20px;
  height: 20px;
}


/* --- Responsive Improvements --- */
@media (max-width: 768px) {
  .hero-gallery {
    flex-direction: column;
    align-items: center;
    padding: 40px 10px;
  }
  .card img {
    width: 100%;
    max-width: 250px;
    height: auto;
  }
  .servicios-grid {
    gap: 40px;
  }
  .producto img {
    height: 120px;
  }
  .footer-contenido {
    flex-direction: column;
    text-align: center;
  }
  .navbar-links {
    gap: 10px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .hero-gallery {
    padding: 20px 5px;
  }
  .card img {
    width: 100%;
    max-width: 200px;
    height: auto;
  }
  .servicios-grid {
    gap: 20px;
  }
  .productos-section h2 {
    font-size: 1.8rem;
  }
  .categoria-productos h3 {
    font-size: 1.4rem;
  }
  .producto {
    max-width: 90%;
  }
}
.producto select.modelo-select {
  margin-top: 5px;
  padding: 5px;
  font-size: 0.9em;
  width: 100%;
  max-width: 200px;
}

/* --- PRODUCTOS MEJORADOS --- */
.productos-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 30px;
}

.producto {
  background-color: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.producto img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
}

.producto h4 {
  font-size: 1.1rem;
  margin: 10px 0 5px;
  color: #333;
}

.producto .precio {
  font-weight: bold;
  color: #e60073;
  margin-bottom: 10px;
}

.stock-status {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.btn-agregar {
  background-color: #ec93d1;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-agregar:hover {
  background-color: #e60073;
}