@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&family=Roboto:wght@500&display=swap");

* {
  margin: 0px;
  padding: 0px;
  font-family: "Poppins", sans-serif;
  font-family: "Roboto", sans-serif;
}

:root {
  --bg: #f7feff;
  --text: #202020;
  --focus: #0066cc;
  --input: #dadada;
  --borderNav: #e6e6e6;
  --text-category: #494949;
  --btn: #216897;
  --contact: #f5f9ff;
}

body {
  background-color: var(--bg);
}

.link-redes {
  text-decoration: none;
  color: var(--focus);
}

.text {
  color: var(--text);
}
.pc-active {
  color: var(--focus);
}
.nav {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg);
}

.category {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  background-color: var(--bg);
  border-bottom: solid 1px var(--borderNav);
  border-top: solid 1px var(--borderNav);
}

.item-category {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.title {
  width: 80%;
  height: 100px;
  padding: 30px;
  text-align: center;
  height: auto;
}

.list-category {
  display: flex;
  align-items: center;
  height: 25px;
  list-style: none;
  margin: 10px;
  overflow-x: scroll;
}

.link {
  font-size: 14px;
  margin: 10px;
  text-decoration: none;
  color: var(--text-category);
  transition: 0.3s ease;
}

.link:hover {
  color: var(--text);
}

.list-category::-webkit-scrollbar {
  display: none;
}

.active {
  color: var(--focus);
}

.content-menu-pc {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 90%;
}

.item-menu-pc {
  width: 400px;
  display: flex;
  justify-content: center;
}

.title {
  font-weight: 800;
  font-size: 28px;
  color: var(--text);
}

.list-menu-pc {
  display: flex;
  list-style: none;
}

.a-pc {
  margin: 10px;
  color: var(--text);
  transition: 0.3s ease;
}

.a-pc:hover {
  opacity: 0.7;
}

.text-none {
  text-decoration: none;
}

.input-search-pc {
  width: 60%;
  border: solid 1px var(--input);
  transition: 0.3 ease;
  padding: 10px;
  border-radius: 4px;
}

.input-search-pc:focus {
  outline: none;
  border: solid 2px var(--focus);
}

.content-menu-mb,
.content-menu-url-mb {
  display: none;
}
.content-title {
  width: 100%;
  position: relative;
  top: 30px;
  display: flex;
  justify-content: center;
  color: var(--text);
}
.container {
  display: flex;
  position: relative;
  top: 50px;
  justify-content: center;
}
.content-cards {
  width: 75%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: minmax(350px, auto);
  gap: 10px;
  margin-bottom: 100px;
}

.card {
  border-radius: 10px;
  box-shadow: 0px 4px 6px 0px #32325d1c, 0px 1px 3px 0px #00000014;
  -webkit-box-shadow: 0px 4px 6px 0px #32325d1c, 0px 1px 3px 0px #00000014;
  -moz-box-shadow: 0px 4px 6px 0px #32325d1c, 0px 1px 3px 0px #00000014;
}

.name-product {
  width: 100%;
  word-wrap: break-word;
}

.content-image {
  width: 200px;
}
.img-product {
  width: 100%;
  height: 250px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 190px;
  margin: 10px;
}

.resumen {
  width: 90%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.card-prices {
  display: flex;
  flex-direction: column;
}

.prices {
  width: 100%;
  font-size: 15px;
  color: var(--text);
  margin-top: 10px;
}

.text-detail {
  display: block;
  text-decoration: none;
  color: var(--bg);
}

.card-detail {
  width: 100%;
  border-radius: 5px;
  padding-block: 5px;
  background-color: var(--btn);
  text-align: center;
  transition: 0.3s ease;
}

.card-detail:hover {
  opacity: 0.8;
}

.content-searh-mb {
  display: none;
}

.contact {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 70px;
}

.card-contact {
  width: 900px;
  height: auto;
  margin: 20px;
  border-radius: 10px;
  background-color: var(--contact);
}

.item-contact {
  margin: 20px;
  list-style: none;
}

.map{
  margin: 10px;
}


.content-searh-pc{
  position: relative;
  top: 20px;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  background-color: var(--bg);
}

.result{
  padding-block: 30px;
}

.search-pc-card{
  -webkit-box-shadow: 0px 0px 5px 3px rgba(164,245,211,1);
  -moz-box-shadow: 0px 0px 5px 3px rgba(164,245,211,1);
  box-shadow: 0px 0px 5px 3px rgba(164,245,211,1);
}

@media screen and (max-width: 820px) {
  .content-menu-pc {
    display: none;
  }

  .content-menu-mb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 20px;
    height: 55px;
  }
  .content-menu-url-mb {
    position: relative;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: 0px;
    border-top: solid 1px var(--borderNav);
    background-color: var(--bg);
  }

  .item-menu-url-mb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    gap: 3px;
  }

  .text-url {
    font-size: 14px;
    color: var(--text);
  }
  .content-cards {
    width: 95%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-rows: minmax(250px, auto);
    gap: 10px;
  }

  .icons-mb {
    color: var(--text-category);
    font-size: 20px;
    transition: 0.2s ease;
  }

  .icons-mb:active {
    transform: scale(1.12);
  }

  .content-searh-mb {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    transition: 0.2s ease;
    position: fixed;
    overflow-y: auto;
    z-index: 9999;
    right: 100%;
    top: 0;
    background-color: var(--bg);
  }

  .header-search {
    width: 100%;
    height: 60px;
    border-bottom: solid 1px var(--borderNav);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .items-searh-mb {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px;
  }

  .input-search-mb {
    width: 100%;
    padding: 8px;
    border: solid 1px var(--input);
    transition: 0.3 ease;
    padding: 10px;
    border-radius: 4px;
  }

  .input-search-mb:focus {
    outline: none;
    border: solid 2px var(--focus);
  }

  .result {
    font-size: 17px;
    color: var(--text);
    padding-block: 20px;
  }

  .mb-active{
    color: var(--focus);
  }
}
