@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style-type: none;
  font-family: "Inter";
}

html {
  font-size: 16px;
}

body {
  color: #333;
  user-select: none;
}

@media screen and (max-width: 767px) {
  html {
    font-size: 14px;
  }
}
nav {
  width: 100%;
  position: fixed;
  background-color: white;
  z-index: 1;
}
nav .blur-menu-mobile {
  display: none;
  opacity: 0;
}
nav > div {
  display: flex;
  justify-content: space-between;
  width: 90%;
  height: 100%;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.096);
  margin: 0 auto;
}
nav > div > section {
  display: flex;
}
nav > div > section:first-child {
  gap: 2rem;
  align-items: end;
}
nav > div > section:first-child header h3 {
  font-size: 2.8rem;
  font-weight: 900;
}
nav > div > section:first-child label {
  display: none;
  z-index: 2;
}
nav > div > section:first-child ul {
  display: flex;
  gap: 1rem;
}
nav > div > section:first-child ul li {
  cursor: pointer;
  padding: 0.7rem;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}
nav > div > section:first-child ul li:hover {
  transition: all 0.2s ease;
}
nav > div > section:first-child ul li::before {
  transition: all 0.2s ease;
  content: "";
  position: absolute;
  bottom: -34px;
  width: 0;
  left: 0;
  height: 3px;
  background-color: orange;
}
nav > div > section:first-child ul li:hover::before {
  width: 100%;
}
nav > div > section:last-child {
  gap: 1.5rem;
  align-items: center;
}
nav > div > section:last-child > button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
nav > div > section:last-child > button > div {
  background-color: white;
  box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.166);
  position: absolute;
  cursor: default;
  width: 300px;
  height: 400px;
  left: 50%;
  top: 0px;
  z-index: -1;
  opacity: 0;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}
nav > div > section:last-child > button > div > h4 {
  padding: 10px;
  display: block;
  text-align: left;
  border-bottom: 2px solid #3333330c;
}
nav > div > section:last-child > button > div > div {
  height: 90%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: scroll;
  overflow-x: hidden;
}
nav > div > section:last-child > button .cart-menu-active {
  opacity: 1;
  top: 50px;
}
nav > div > section:last-child img {
  width: 33px;
}
nav > div > section:last-child > img {
  border-radius: 100%;
}
@media screen and (max-width: 1024px) {
  nav > div > section:first-child {
    gap: 1rem;
    align-items: end;
    z-index: 2;
  }
  nav > div > section:first-child > header > h3 {
    font-size: 2.4rem;
  }
  nav > div > section:first-child > ul {
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 767px) {
  nav .blur-menu-mobile {
    position: absolute;
    background-color: transparent;
    backdrop-filter: blur(5px);
    width: 0;
    display: block;
    height: 0;
    transition: width 0s, height 0s, opacity 0.3s, background-color 0.3s, backdrop-filter 0.3s ease;
  }
  nav .blur-menu-mobile-active {
    opacity: 1;
    min-height: 200vh;
    width: 200vw;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
  }
  nav div section:first-child {
    align-items: center;
    gap: 0.8rem;
  }
  nav div section:first-child header {
    order: 1;
  }
  nav div section:first-child header h3 {
    font-size: 2rem;
  }
  nav div section:first-child ul {
    position: fixed;
    flex-direction: column;
    width: 250px;
    min-height: 200vh;
    top: 0;
    left: -100%;
    background-color: white;
    color: transparent;
    align-items: start;
    font-weight: 800;
    padding: 150px 50px 0 10px;
    font-size: 2rem;
    color: #333;
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: all 0.3s ease;
  }
  nav div section:first-child .active-menu {
    left: 0;
  }
  nav div section:first-child label {
    width: 40px;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  nav div section:first-child .hamburger {
    cursor: pointer;
  }
  nav div section:first-child .hamburger input {
    display: none;
  }
  nav div section:first-child .hamburger svg {
    height: 3em;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  nav div section:first-child .line {
    fill: none;
    stroke: #333;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  nav div section:first-child .line-top-bottom {
    stroke-dasharray: 12 63;
  }
  nav div section:first-child .hamburger input:checked + svg {
    transform: rotate(-45deg);
  }
  nav div section:first-child .hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
  }
  nav div > section:last-child {
    gap: 1rem;
  }
  nav div > section:last-child > button {
    position: static;
    z-index: 0;
  }
  nav div > section:last-child > button > div {
    position: absolute;
    width: 90%;
    height: 500px;
  }
  nav div > section:last-child > button > div > h4 {
    font-size: 1.5rem;
  }
  nav div > section:last-child > button .cart-menu-active {
    top: 70px;
  }
  nav div > section:last-child img {
    width: 30px;
  }
  nav div > section:last-child > img {
    border-radius: 100%;
  }
}

main {
  flex-wrap: wrap;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  top: 120px;
  min-width: 100vw;
}
main > div {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 50px;
}
main > div > section {
  max-width: 400px;
  gap: 0.2rem;
}
main > div > section figure {
  position: relative;
  overflow: hidden;
  width: 200px;
  height: 120px;
  border-radius: 10px;
}
main > div > section figure img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  position: absolute;
  transition: all 0.4s cubic-bezier(0.5, -1.5, 0.5, 2);
  cursor: zoom-in;
}
main > div > section figure img:hover {
  transform: scale(1.2);
}
main > div > section:first-child {
  display: flex;
  flex-direction: column;
}
main > div > section:first-child > div:first-child > figure {
  height: 400px;
  width: 100%;
}
main > div > section:first-child > div:last-child {
  display: flex;
  gap: inherit;
}
main > div > section:last-child {
  display: flex;
  flex-direction: column;
}
main > div > section:last-child > div:first-child > h2 {
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  letter-spacing: 3px;
}
main > div > section:last-child > div:first-child > h1 {
  font-size: 2rem;
  text-transform: capitalize;
  margin-bottom: 2rem;
}
main > div > section:last-child > p {
  margin-bottom: 20px;
  max-width: 350px;
}
main > div > section:last-child > span {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
main > div > section:last-child > span > div {
  display: flex;
  gap: 1rem;
  align-items: center;
}
main > div > section:last-child > span > div > p {
  display: inline;
}
main > div > section:last-child > span > div > p:first-child {
  font-size: 2rem;
}
main > div > section:last-child > span > div > p:last-child {
  background-color: black;
  color: white;
  border-radius: 10px;
  padding: 10px 15px;
}
main > div > section:last-child > span > p {
  width: max-content;
  text-decoration: line-through;
}
main > div > section:last-child > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
main > div > section:last-child > div:last-child > div {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 120px;
  height: 40px;
  border-radius: 10px;
  background-color: #e4e4e4;
  font-size: 1.5rem;
}
main > div > section:last-child > div:last-child > div > button {
  border: none;
  font-size: inherit;
  background-color: transparent;
  cursor: pointer;
  font-weight: 700;
  color: orange;
}
main > div > section:last-child > div:last-child > button {
  flex: 1;
  max-height: 50px;
  text-wrap: nowrap;
  border-radius: 10px;
  border: none;
  padding: 10px;
  background-color: orange;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.4s ease;
}
main > div > section:last-child > div:last-child > button:hover {
  background-color: #d78c01;
}
@media screen and (max-width: 1024px) {
  main > div {
    flex-wrap: nowrap;
  }
  main > div > section {
    max-width: 400px;
    gap: 0.4rem;
    min-height: 550px;
    justify-content: space-around;
  }
  main > div > section figure {
    position: relative;
    overflow: hidden;
    width: 200px;
    height: 150px;
  }
  main > div > section:last-child > div:last-child {
    gap: 0.5rem;
  }
  main > div > section:last-child > div:last-child > div {
    width: 100%;
    height: 40px;
  }
  main > div > section:last-child > div:last-child > button {
    max-height: 40px;
  }
}
@media screen and (max-width: 767px) {
  main {
    position: absolute;
    gap: 1rem;
    top: 100px;
    width: 100vw;
    min-height: auto;
    background-color: pink;
  }
  main > div {
    padding: 0;
    flex-wrap: wrap;
  }
  main > div > section {
    min-height: initial;
    justify-content: initial;
    max-width: 100vw;
  }
  main > div > section:first-child {
    width: 100vw;
  }
  main > div > section:first-child > div:first-child > figure {
    width: 100vw;
    height: 700px;
  }
  main > div > section:first-child figure {
    position: relative;
    overflow: hidden;
    height: 150px;
  }
  main > div > section:first-child > div:last-child {
    display: flex;
  }
  main > div > section:first-child > div:last-child > figure {
    flex: 1;
    height: 200px;
  }
  main > div > section:last-child {
    min-width: 100vw;
    padding: 1rem;
  }
  main > div > section:last-child > span {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  main > div > section:last-child > span > div {
    gap: 0.5rem;
  }
  main > div > section:last-child > span > div > p:first-child {
    font-size: 1.5rem;
  }
  main > div > section:last-child > span > div > p:last-child {
    padding: 5px 10px;
  }
  main > div > section:last-child > span > p {
    font-size: 1.1rem;
  }
  main > div > section:last-child > div:last-child {
    gap: 0.5rem;
    flex-wrap: nowrap;
  }
  main > div > section:last-child > div:last-child > div {
    height: 40px;
    max-width: 30%;
  }
  main > div > section:last-child > div:last-child > button {
    flex: 1;
    width: 100%;
    max-height: 40px;
  }
}