@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #1b1726;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  background-image: url(images/bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  min-height: 80vh;
  padding: 80px 0;
}

.menu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #ff5a2c;
  font-size: 25px;
  font-weight: 800;
  text-transform: uppercase;
}

.menu .navbar ul li {
  position: relative;
  float: left;
}

.menu .navbar ul li a {
  font-size: 18px;
  padding: 20px;
  color: #ffffff;
  font-weight: 600;
  display: block;
}

.menu .navbar ul li a:hover {
  color: #ff5a2c;
}

#menu {
  display: none;
}

.menu-icono {
  width: 25px;
}

.menu label {
  cursor: pointer;
  display: none;
}

.header-content {
  display: flex;
}

.header-txt {
  flex-basis: 50%;
}

.header-txt h1 {
  font-size: 60px;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 25px;
}

.header-txt span {
  color: #ff5a2c;
}

.header-txt p {
  font-size: 17px;
  color: #e0e0e0;
  margin-bottom: 45px;
}

.butons {
  display: flex;
}

.btn-1,
.btn-2,
.btn-3 {
  cursor: pointer;
  display: inline-block;
  padding: 11px 35px;
  border: 2px solid #ff5a2c;
  border-radius: 25px;
  margin-right: 25px;
  font-size: 15px;
  color: #ffffff;
}

.btn-1:hover {
  background-color: #ff5a2c;
}

.popular {
  padding: 100px 0;
  text-align: center;
}

h2 {
  color: #ffffff;
  font-size: 35px;
  margin-bottom: 45px;
}

.popular-content {
  display: flex;
  justify-content: space-between;
}
.popular-content img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out;
}
.popular-content img:hover {
  transform: scale(1.2);
}

.popular-content img {
  width: 150px;
  border-radius: 20px;
}

.product-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.product-1 {
  border-radius: 20px;
  background-color: #2a223a;
}

.product-txt {
  padding: 15px;
}
/* Feedback */
.feedbacks {
  padding: 100px 0;
}
.feedback-content {
  padding: 30px 0px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

@media (max-width: 991px) {
  .feedback-content {
    padding: 30px 0px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
  .feedbacks {
    padding: 30px;
  }
}

.feedback {
  background-color: #2a223a;
  padding: 25px 25px;
  border-radius: 20px;
}
.feed_header {
  display: flex;
}
.feed_header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 20px;
}
.feed_header {
  margin-bottom: 10px;
}
.feed_header h3 {
  padding-top: 10px;
  font-size: 12px;
  color: #ffffff;
}
.feed_body {
  font-size: 12px;
  color: #d7d7d7;
  margin-bottom: 20px;
}
.feed_footer {
  color: white;
  font-size: 12px;
}
.stars {
  background-image: url("images/stars-rating.svg");
  background-position: 0;
  background-repeat: no-repeat;
  background-size: cover;
  height: 12px;
  position: relative;
  width: 80px;
}
h3 {
  font-size: 17px;
  color: #ffffff;
}

.price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price p {
  font-size: 15px;
  color: #ff5a2c;
}

.btn-2 {
  padding: 3px 11px;
  color: #ff5a2c;
  margin-right: 0;
}

.btn-2:hover {
  background-color: #ff5a2c;
  color: #ffffff;
}

.contact-content {
  background-color: #2a223a;
  text-align: center;
  padding: 50px;
  border-radius: 50px;
}

form {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

input {
  padding: 18px 25px;
  background-color: #3f3456;
  border: 0;
  border-radius: 25px;
  outline: none;
  margin-right: 10px;
  color: #ffffff;
  font-size: 17px;
}

::placeholder {
  color: #e0e0e0;
  font-size: 17px;
}

.btn-3 {
  background-color: #ff5a2c;
  cursor: pointer;
  margin-right: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0;
}

.link ul {
  display: flex;
}

.link ul li > a {
  font-size: 17px;
  color: #ffffff;
  margin-right: 20px;
}

.link ul li > a:hover {
  color: #ff5a2c;
}

@media (max-width: 991px) {
  .menu {
    padding: 20px;
  }

  .menu label {
    display: initial;
  }

  .menu .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ff5a2c;
    display: none;
  }

  .menu .navbar ul li a:hover {
    color: #1b1726;
  }

  .menu .navbar ul li {
    width: 100%;
  }

  #menu:checked ~ .navbar {
    display: initial;
  }

  .header {
    min-height: 0vh;
    padding: 80px 30px 50px 30px;
  }

  .header-txt {
    text-align: center;
    flex-basis: 100%;
  }

  .header-txt h1 {
    font-size: 50px;
    margin-bottom: 15px;
  }

  .butons {
    justify-content: center;
  }

  .btn-1:last-of-type {
    margin-right: 0;
  }

  .popular {
    display: none;
  }

  .product {
    padding: 30px;
  }

  .product-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .product-1 img {
    width: 100%;
  }

  .contact {
    padding: 30px;
  }

  form {
    flex-direction: column;
  }

  input {
    margin: 0 0 20px 0;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .link ul {
    margin-top: 20px;
  }
}
/* SEARCH */
.buscar-btn {
  cursor: pointer;
}

.search {
  overflow: auto;
  display: none;
  position: absolute;
  background: #1b1726;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
}
.search h1 {
  color: #fff;
  margin-bottom: 20px;
}
.search-content {
  margin-top: 40px;
  text-align: center;
}
.search.active {
  display: block;
}
.search-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.results {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  overflow: auto;
}

.results .product-1 {
  width: calc(20% - 20px);
  margin: 10px;
}
@media (max-width: 1200px) {
  .results .product-1 {
    width: calc(33.3% - 20px);
    margin: 10px;
  }
}
@media (max-width: 768px) {
  .results .product-1 {
    width: calc(33.3% - 20px);
  }
}
/* Carrito */

.cart-btn {
  cursor: pointer;
  position: relative;
}

#cart {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  background-color: #2a223a;
  padding: 10px;
  display: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cart-container h2 {
  margin-bottom: 10px;
}

#cartItems {
  list-style: none;
  padding: 0;
}

.cart-item {
  color: white;
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
li.cart-item {
  padding: 10px 0px;
}

.cart-footer {
  color: white;
}

.cart-footer p {
  margin-bottom: 10px;
}

/* alert */
.custom-alert {
  z-index: 999;
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #4caf50;
  color: #fff;
  padding: 15px;
  border-radius: 5px;
  display: none;
  animation: fadeOut 3s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}
