

/* ===============================
   FOOTER
=============================== */

.footer {
  width: 100%;

  padding: 30px 20px;

  text-align: center;

  border-top: 1px solid #eee;

  font-size: 13px;

  color: #777;

  background: #fff;
}


/* ===============================
   SLIDER FULL SCREEN
=============================== */

.slider {
  position: relative;

  width: 100%;
  height: calc(100vh - 70px); 
  /* 70px = alto aproximado del header */

  overflow: hidden;
}


/* Slide */

.slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

/* Imagen */

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Texto abajo */

.slide-text {
  position: absolute;

  bottom: 0;
  left: 0;
  width: 100%;

  padding: 25px 40px;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.2),
    transparent
  );

  color: #fff;
}

/* Títulos */

.slide-text h2 {
  font-size: 32px;
  margin-bottom: 5px;
}

.slide-text p {
  font-size: 16px;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* Botón */

.slide-text .btn {
  display: inline-block;
  text-decoration: none;

  background: #fff;
  color: #000;

  padding: 8px 18px;
  border-radius: 4px;

  font-weight: 600;

  transition: all 0.2s ease;
}

.slide-text .btn:hover {
  background: #000;
  color: #fff;
}



/* ===============================
   MOBILE SLIDER FIX
=============================== */

@media (max-width: 768px) {

  .slider {
    height: calc(100svh - 92px);
  }

  .slide img {
    object-position: center top;
  }

  .slide-text {
    padding: 18px 16px;
  }

  .slide-text h2 {
    font-size: 20px;
  }

  .slide-text p {
    font-size: 13px;
  }

  .slide-text .btn {
    padding: 6px 14px;
    font-size: 13px;
  }

}





/* ===============================
   HEADER RESPONSIVE MEJORADO
=============================== */

/* Desktop ya lo tenés bien */

/* Mobile */

@media (max-width: 768px) {

  .header {
    flex-direction: column;

    align-items: center;

    gap: 12px;

    padding: 12px 15px;

    height: auto;
  }


  /* Logo */

  .header__logo a {
    font-size: 22px;
    font-weight: 700;
  }


  /* Nav */

  .header__nav {
    width: 100%;

    display: flex;

    justify-content: space-around;

    align-items: center;

    gap: 0;
  }

  .header__nav a {
    font-size: 13px;

    padding: 6px 0;

    flex: 1;

    text-align: center;
  }


  /* Subrayado hover */

  .header__nav a::after {
    bottom: -2px;
    height: 1.5px;
  }


  /* Carrito badge */

  #contadorCarrito {
    min-width: 16px;
    height: 16px;

    font-size: 10px;
  }

}


/* Mobile chico */

@media (max-width: 420px) {

  .header__logo a {
    font-size: 20px;
  }

  .header__nav a {
    font-size: 12px;
  }

}


