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

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

.hero {
  background-image: url(Assets/Img/HeroImg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.profile {
  background-image: url(Assets/Img/profilepicture.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.shadow-top {
  box-shadow: 0 -40px 150px rgba(0, 0, 0, 0.25);
}

.prod1 {
  background-image: url(Assets/Img/produto1.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.prod2 {
  background-image: url(Assets/Img/produto2.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.prod3 {
  background-image: url(Assets/Img/produto3.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.prod4 {
  background-image: url(Assets/Img/produto4.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.prod5 {
  background-image: url(Assets/Img/produto5.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.prod6 {
  background-image: url(Assets/Img/produto6.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.produto {
  transform: scale(1);
  transition: transform 0.3s ease;
  transition-delay: 50ms;
}

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

.botoesProd button {
  transition: transform 0.2s ease;
  transition-delay: 50ms;
}

.botoesProd button:hover {
  transform: translateY(-2px);
}
/* 
.previous svg{
    margin-left: 5px;
     transition: margin-left 0.2s ease;
}

.previous:hover{
    svg{
        margin-left: 0px;
    }
}

.next svg{
    margin-right: 5px;
     transition: margin-right 0.2s ease;
}

.next:hover{
    svg{
        margin-right: 0px;
    }
} */

.container {
  position: relative;
  --size-button: 40px;
  color: white;
}

.input {
  padding-left: var(--size-button);
  height: var(--size-button);
  font-size: 15px;
  border: none;
  color: #fff;
  outline: none;
  width: var(--size-button);
  transition: all ease 0.3s;
  background-color: #191a1e;
  box-shadow:
    1.5px 1.5px 3px #0e0e0e,
    -1.5px -1.5px 3px rgb(95 94 94 / 25%),
    inset 0px 0px 0px #0e0e0e,
    inset 0px -0px 0px #5f5e5e;
  border-radius: 50px;
  cursor: pointer;
}

.input:focus,
.input:not(:invalid) {
  width: 200px;
  cursor: text;
  box-shadow:
    0px 0px 0px #0e0e0e,
    0px 0px 0px rgb(95 94 94 / 25%),
    inset 1.5px 1.5px 3px #0e0e0e,
    inset -1.5px -1.5px 3px #5f5e5e;
}

.input:focus + .icon,
.input:not(:invalid) + .icon {
  pointer-events: all;
  cursor: pointer;
}

.container .icon {
  position: absolute;
  width: var(--size-button);
  height: var(--size-button);
  top: 0;
  left: 0;
  padding: 8px;
  pointer-events: none;
}

.container .icon svg {
  width: 100%;
  height: 100%;
}

/* Category navigation panel */
.category-nav {
  font-family: "Poppins", sans-serif;
}

.category-nav__title {
  letter-spacing: -0.02em;
}

.category-nav__list {
  list-style: none;
}

.category-nav__link,
.category-nav__sublink {
  text-decoration: none;
  outline: none;
}

.category-nav__link:focus-visible,
.category-nav__sublink:focus-visible {
  outline: 2px solid #1e1e1e;
  outline-offset: 2px;
}

.category-nav__badge {
  min-width: 1.5rem;
  text-align: center;
}

.category-nav__sublist {
  list-style: none;
}

.category-nav__item--collapsed .category-nav__sublist {
  display: none;
}

.category-nav__item--expanded .category-nav__sublist {
  display: flex;
  flex-direction: column;
}

.category-nav__item--expanded .category-nav__link [data-lucide="chevron-down"] {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.category-nav__item--collapsed
  .category-nav__link
  [data-lucide="chevron-down"] {
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.newStuff {
  background-image: linear-gradient(to bottom, #363636, #1d1d1d);
}

@media (max-width: 768px) {
  header {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    min-height: 64px;
  }
  #header-nav-list {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #ebebeb !important;
    flex-direction: column !important;
    gap: 2rem !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 50 !important;
    transition: all 0.3s;
  }
  #header-nav-list.closed {
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  #header-nav-list.open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}
@media (min-width: 769px) {
  #header-nav-list {
    transform: none !important;
    opacity: 1 !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
    background: transparent !important;
    flex-direction: row !important;
    gap: 2rem !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: auto !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 768px) {
  .category-nav.md\\:hidden {
    display: block !important;
  }
  .category-nav.md\\:flex {
    display: none !important;
  }
  main {
    padding-bottom: 120px !important;
    flex-direction: column !important;
  }
  .produtos > div.flex {
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
  }
  .product {
    max-width: 350px;
    width: 100% !important;
  }
  .produto {
    height: 220px !important;
    min-width: unset !important;
  }
}
@media (max-width: 576px) {
  .produtos > div.flex {
    gap: 1.5rem !important;
  }
  .produto {
    height: 180px !important;
  }
  .botoesProd {
    flex-direction: column !important;
  }
}
@media (max-width: 768px) {
  .carrosselProdutos {
    gap: 1rem !important;
    padding-bottom: 1.5rem;
    margin-top: 2rem !important;
  }
  .carrosselProdutos .product {
    min-width: 80vw !important;
    max-width: 85vw !important;
  }
  .carrosselProdutos .produto {
    width: 100% !important;
    min-width: 0 !important;
    height: 50vw !important;
    max-height: 320px !important;
    min-height: 220px !important;
    /* keeps aspect not too tall in mobile */
  }
}
