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

.Body {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  transition: background-color 0.5s ease, color 0.5s ease;
  height: 100vh;
}

.Header {
  display: flex;
  gap: 1rem;
  background-color: var(--bg-secondary);
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  position: sticky;
  /* compatibilidad con safari */
  position: -webkit-sticky;
  z-index: 1000;
  top: 0;
}
.Header-top {
  width: 100%;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.Header-menu {
  display: flex;
  gap: 1rem;
  color: var(--txt-primary);
  transition: color 0.3s ease;
}
.Header-title {
  display: none;
  font-size: 20px;
  color: var(--txt-primary);
  transition: color 0.3s ease;
}

.Header-logo {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.Header-logo:hover {
  transform: scale(1.05);
}

.Header-nav {
  display: none;
  border-top: 1px solid #1e252d;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.Header-nav--ul {
  text-decoration: none;
  background-color: var(--bg-secondary);
  padding: 1rem;
  border-radius: 0 1rem 1rem 0;
  box-shadow: 0px 0px 10px rgb(0,0,0,0.2);
  gap: 1rem;
  width: 50%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  
}
.isActiveMenu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
transform: translateX(0);
  transition: transform 0.5s ease;

}

.ul-li {
  text-decoration: none;
  color: var(--txt-primary);
  font-size: 18px;
}

.cart-container{
  position: relative;
  display: inline-block;
}
.cart-count{
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--txt-primary);
  color: var(--bg-secondary);
  border-radius: 50%;
  padding: 2px 5px;
  font-size: 12px;
}


.Footer {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
.Footer-section{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.Footer-form{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.Footer-nav--ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 1rem;
  align-items: center;
}

.Footer-nav--ul-li {
  text-decoration: none;
  position: relative;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.Footer-nav--ul-li:hover {
  border-color: var(--txt-primary);
}

.Footer-nav--hr {
  border: 1px solid #1e252d;
  width: 100%;
}
.Footer-nav--proyect-image {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
  justify-content: center;
}

.Footer-user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}


@media screen and (min-width: 350px) and (max-width: 600px) {
  .Header-title {
    display: flex;
  }

  .Header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .Header-nav{
    transform: none;
  }
}
@media screen and (min-width: 700px) {
  .Header-nav {
    display: flex;
    gap: 1rem;
    background-color: transparent;
    border-top: none;
    position: unset;
    flex-direction: row-reverse;
    transform: none;
  }

  .Header-menu {
    display: none;
  }

  .u-close{
    display: none;
  }

  .u-button {
   width:auto;
  }
  .Header-nav--ul {
    flex-direction: row;
    gap: 1rem;
    justify-content: end;
    align-items: center;
    box-shadow: none;
    background-color: transparent;
    height: auto;
  }

  .Footer-section{
   
    flex-direction: row-reverse;
   
  justify-content: space-around;
  align-items: center;
  }
  
  
}
