@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;500;600;700;800;900&display=swap");
*,
*:before,
*:after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}
html {
  overflow-x: hidden;
}
body {
  scroll-behavior: smooth;
  line-height: 1.5;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
input,
button,
textarea,
select {
  font: inherit;
}
button {
  border: 1px solid;
  background-color: transparent;
}
button {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
}
@media (prefers-reduced-motion: reduce) {
  * {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --c-grey-000: #ffffff;
  --c-grey-100: #f7f5ff;
  --c-grey-500: #dddddd;
  --c-grey-700: #7d7d80;
  --c-grey-900: #000000;
  --c-purple-100: #cac2f2;
  --c-purple-300: #9684fe;
  --c-purple-500: #7762ff;
  --inner-gutter: 1.25rem;
}
::-webkit-scrollbar {
  display: none;
}
* {
  scrollbar-width: none;
}
body {
  font-family: "Lexend", sans-serif;
  min-height: 100vh;
  background-color: var(--c-purple-500);
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
img {
  max-width: 100%;
  display: block;
}
.app {
  background-color: var(--c-grey-100);
  width: 95%;
  max-width: 375px;
  height: 800px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.app-header {
  padding: 1.5rem var(--inner-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-header-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-grey-700);
  cursor: pointer;
  transition: 0.15s ease;
}
.app-header-btn svg {
  width: 28px;
  height: 28px;
}
.app-header-btn--active, .app-header-btn:hover {
  background-color: var(--c-grey-000);
  box-shadow: 0 5px 15px rgba(150, 132, 254, 0.15);
}
.app-header-btn--notification {
  position: relative;
}
.app-header-btn--notification:after {
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--c-purple-500);
  top: 8px;
  right: 8px;
}
.section + .section {
  margin-top: 2rem;
}
.section-header {
  padding-left: var(--inner-gutter);
  padding-right: var(--inner-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.section-body {
  padding-left: var(--inner-gutter);
  padding-right: var(--inner-gutter);
}
.section-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--c-grey-700);
}
.section-icon {
  color: var(--c-grey-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.section-icon svg {
  width: 24px;
  height: 24px;
}
.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  overflow-x: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 50px;
  margin-bottom: -50px;
  margin-top: -20px;
  padding-top: 20px;
}
.product-list-item {
  max-width: 70%;
  display: inline-flex;
  flex-shrink: 0;
}
.product-list-item + .product-list-item {
  margin-left: 1rem;
}
.product {
  display: flex;
  flex-direction: column;
  background-color: var(--c-grey-000);
  box-shadow: 0 5px 20px 0 rgba(150, 132, 254, 0.1), 0 15px 30px 0 rgba(150, 132, 254, 0.05);
  border-radius: 15px;
  margin-top: 5.5rem;
}
.product-image {
  margin-top: -5rem;
  padding: 0 0.5rem;
}
.product-image img {
  filter: drop-shadow(0 5px 15px rgba(150, 132, 254, 0.375));
}
.product-image + * {
  margin-top: 1rem;
}
.product-content {
  padding: 0 1.25rem 1.25rem;
}
.product-title {
  font-size: 1.125rem;
  line-height: 1.25;
  color: var(--c-grey-900);
  letter-spacing: -0.025em;
  font-weight: 600;
}
.product-rating {
  margin-top: 0.5rem;
  color: orange;
}
.product-rating svg {
  width: 16px;
  height: 16px;
}
.product-price {
  font-size: 1.25rem;
  color: var(--c-purple-300);
}
.product-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.product-btn-group {
  display: flex;
  align-items: center;
}
.product-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-grey-700);
  cursor: pointer;
  background-color: var(--c-grey-000);
  box-shadow: 0 3px 15px rgba(150, 132, 254, 0.25);
}
.product-btn svg {
  width: 24px;
  height: 24px;
}
.product-btn + .product-btn {
  margin-left: 0.5rem;
}
.product-btn--add {
  color: var(--c-purple-500);
}
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  overflow-x: auto;
  padding-left: var(--inner-gutter);
  padding-right: var(--inner-gutter);
  margin-top: 0.75rem;
  padding-bottom: 20px;
  margin-bottom: -20px;
}
.category-list-item + .category-list-item {
  margin-left: 0.5rem;
}
.category {
  display: block;
  background-color: var(--c-grey-000);
  box-shadow: 0 5px 10px rgba(150, 132, 254, 0.15);
  text-decoration: none;
  padding: 0.5em 1.25em;
  border-radius: 16px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--c-grey-700);
}
.app-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.menu-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background-color: #ffffff;
  box-shadow: 0 -5px 15px rgba(150, 132, 254, 0.15);
}
.menu-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--c-purple-100);
  text-decoration: none;
  margin: 1rem 1.25rem;
}
.menu-bar-item > * {
  transition: 0.15s ease;
}
.menu-bar-item svg {
  width: 32px;
  height: 32px;
}
.menu-bar-item--active, .menu-bar-item:hover {
  color: var(--c-purple-500);
}
.menu-bar-item-text {
  font-size: 0.875rem;
  display: block;
  margin-top: 0.25rem;
}
.card {
  background-color: var(--c-purple-300);
  color: var(--c-grey-000);
  height: 400px;
  border-radius: 12px;
  background-image: url("https://assets.codepen.io/285131/airpodsmax.png");
  background-repeat: no-repeat;
  background-size: 100px;
  background-position: 95% -30px;
  overflow: hidden;
  position: relative;
}
.card-content {
  padding: 1.5rem 1.375rem;
}
.card-title {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
}
.card-subtitle {
  display: flex;
  align-items: center;
  font-weight: 300;
  font-size: 1.125rem;
}
.card-subtitle svg {
  margin-left: 0.25rem;
  width: 20px;
  height: 20px;
}
body:after {
  content: "";
  display: block;
  width: 80vw;
  height: 80vw;
  border-radius: 50%;
  background-color: rgba(150, 132, 254, 0.5);
  position: fixed;
  z-index: -1;
  top: -35vw;
  right: -30vw;
  box-shadow: -10vw 30vw 0 -20vw rgba(150, 132, 254, 0.25);
}
body:before {
  content: "";
  display: block;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background-color: rgba(150, 132, 254, 0.75);
  position: fixed;
  z-index: -1;
  top: 50vw;
  left: -20vw;
  box-shadow: 20vw 20vw 0 -10vw rgba(150, 132, 254, 0.25);
}