@font-face {
  font-family: 'AktivGrotesk';
  src: url('fonts/AktivGroteskCorp-Bold.woff2') format('woff2'),
  url('fonts/AktivGroteskCorp-Bold.woff') format('woff'),
  url('fonts/AktivGroteskCorp-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AktivGrotesk';
  src: url('fonts/AktivGroteskCorp-Regular.woff2') format('woff2'),
  url('fonts/AktivGroteskCorp-Regular.woff') format('woff'),
  url('fonts/AktivGroteskCorp-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: "AktivGrotesk", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

ul {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

p, h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

.btn {
  cursor: pointer;
  border-radius: 2px;
  justify-content: center;
  align-items: center;
  padding: 10px 14px;
  text-decoration: none;
  transition: all .2s;
  display: flex;
  border: none;
  outline: none;
  font-weight: 700;
  font-size: 20px;
}

.primary-btn {
  color: #fff;
  background-color: #262626;

  &:hover {
    background-color: #747474;
  }
}

.secondary-btn {
  color: #262626;
  background-color: #fff;

  &:hover {
    color: #747474;
  }
}

.h2-title {
  font-size: 18px;
  font-weight: 700;
  color: #262626;
}

.subtitle {
  font-size: 16px;
  color: #262626;
}

.container {
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  max-width: 1312px;
}

.main {

}

.header {
  background: #fff;

  .container {
    padding: 0;
  }

  .header__content {
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-gap: 20px;

    nav {
      @media (max-width: 768px) {
        display: none;
      }

      ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        list-style-type: none;
      }

      li {
        cursor: pointer;
        background: #fff;
        border: 0;

        &:hover {
          a {
            color: #fff;
            background: #262626;
          }
        }

        a {
          color: #262626;
          font-weight: 700;
          padding: 16px;
          transition: all 0.2s ease-in;
        }
      }
    }
  }

  .header__logo {
    display: flex;
    align-items: center;
    grid-gap: 5px;
    width: 100px;
    height: 100px;

    img {
      width: 100%;
      height: 100%;
      flex-shrink: 0;
    }

    p {
      font-weight: 700;
      font-size: 24px;
      color: #262626;

      @media (max-width: 565px) {
        font-size: 18px;
      }
    }
  }

  .header__burger {
    padding: 0;
    position: relative;
    width: 30px;
    height: 20px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    background: #fff;
    cursor: pointer;

    @media (max-width: 768px) {
      display: flex;
    }

    &.active {
      span {
        background: transparent;

        &::before {
          transform: rotate(45deg);
          top: 9px;
        }

        &::after {
          transform: rotate(-45deg);
          top: 9px;
        }
      }
    }

    span {
      width: 30px;
      height: 2px;
      background: #262626;
      transition: all 0.2s ease-in;

      &::before {
        position: absolute;
        content: '';
        top: 0px;
        right: 0;
        left: 0;
        width: 30px;
        height: 2px;
        background: #262626;
        transition: all 0.2s ease-in;
      }

      &::after {
        position: absolute;
        content: '';
        top: 18px;
        right: 0;
        left: 0;
        width: 30px;
        height: 2px;
        background: #262626;
        transition: all 0.2s ease-in;
      }
    }
  }
}

.sidebar {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 350px;
  background: #fff;
  box-shadow: 8px 0 48px #0003;
  transform: translateX(-110%);
  transition: all 0.2s ease-in;
  z-index: 2;
  flex-direction: column;
  grid-gap: 20px;

  @media (max-width: 768px) {
    display: flex;
  }

  &.active {
    transform: translateX(0);
  }

  nav {
    width: 100%;

    ul {
      width: 100%;
      display: flex;
      flex-direction: column;
      list-style-type: none;

      li {
        width: 100%;

        a {
          display: block;
          padding: 16px;
          color: #262626;
          font-weight: 700;
        }
      }
    }
  }
}

.hero {
  padding: 24px 0;
  background: linear-gradient(180deg, #fbf6f1 0%, #e2e8f7 100%);

  .hero__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    grid-gap: 12px;

    @media (max-width: 768px) {
      flex-direction: column;
      align-items: center;
    }

    .hero__left {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      flex-shrink: 0;
      grid-gap: 12px;

      @media (max-width: 768px) {
        align-items: center;
      }

      h1 {
        font-size: 24px;
        font-weight: 700;
        color: #262626;

        @media (max-width: 768px) {
          text-align: center;
        }
      }

      > p {
        font-size: 14px;
        color: #262626;

        @media (max-width: 768px) {
          text-align: center;
        }
      }

      .hero__left-items {
        display: flex;
        flex-direction: row;
        grid-gap: 12px;

        .hero__left-item {
          padding: 8px;
          display: flex;
          flex-direction: column;
          grid-gap: 4px;
          border-radius: 8px;
          background: #ffffff4d;
          color: #262626;
          font-size: 12px;

          .hero__left-item-title {
            font-weight: 700;
          }
        }
      }
    }

    .hero__right {
      max-width: 500px;
      width: 100%;

      img {
        width: 100%;
        height: auto;
      }
    }
  }
}

.recent-views {
  padding-top: 48px;

  .container {
  }

  .recent-views__content {
    display: flex;
    flex-direction: column;
    grid-gap: 24px;
  }

  .recent-views__carousel {
    width: 100%;

    .swiper-wrapper {
      .swiper-slide {
        display: flex;
        flex-direction: column;
        grid-gap: 12px;
        width: 319px;
        flex-shrink: 0;

        @media (max-width: 768px) {
          width: 200px;
        }

        @media (max-width: 565px) {
          width: 150px;
        }

        img {
          @media (max-width: 768px) {
            width: 200px;
            height: auto;
          }

          @media (max-width: 565px) {
            width: 150px;
          }
        }

        p {
          font-weight: 700;
        }
      }
    }
  }
}

.banner {
  padding-top: 48px;
  padding-bottom: 48px;

  .container {
  }

  .banner__content {
    .banner__item {
      border-radius: 16px;
      grid-template-columns: minmax(368px, 40%) 60%;
      height: 240px;
      min-height: 224px;
      display: grid;
      overflow: hidden;

      @media (max-width: 768px) {
        height: auto;
        min-height: unset;
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
      }

      .banner__item-left {
        background: #43484d;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 24px 24px 24px 48px;

        @media (max-width: 768px) {
          width: 100%;
          align-items: center;
          text-align: center;
        }

        > p {
          &:first-child {
            font-size: 16px;
            margin-bottom: 4px;
            font-weight: 700;
            color: #fff;
          }

          &:nth-child(2) {
            font-size: 12px;
            margin-bottom: 24px;
            color: #fff;
          }
        }
      }

      .banner__item-right {
        @media (max-width: 768px) {
          width: 100%;
          height: 210px;
        }

        img {
          object-fit: cover;
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}

.what-category {
  padding-top: 48px;
  padding-bottom: 48px;
  background: linear-gradient(180deg, #fbf6f1 0%, #e2e8f7 100%);

  .what-category__content {
    h2 {
      margin-bottom: 8px;
    }

    > p {
      margin-bottom: 24px;
    }

    .what-category__items {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-gap: 16px;

      @media (max-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
      }

      .what-category__item {
        width: 100%;
        height: 100%;
        min-height: 140px;
        position: relative;
        overflow: hidden;
        border-radius: 8px;

        @media (max-width: 768px) {
          min-height: 100px;
        }

        &:hover {
          filter: brightness(.9);
          transition: all 0.2s ease-in;
        }

        p {
          top: 0;
          left: 0;
          position: absolute;
          white-space: pre-line;
          padding: 16px;
          font-size: 16px;
          font-weight: 700;
          color: #fff;
        }

        img {
          object-fit: cover;
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}

.shop-by {
  padding-top: 48px;

  .shop-by__content {
    .h2-title {
      margin-bottom: 24px;
    }

    .shop-by__items {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      display: grid;
      grid-gap: 16px;

      @media (max-width: 1024px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      @media (max-width: 565px) {
        display: flex;
        overflow: auto;
      }

      .shop-by__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        grid-gap: 12px;

        @media (max-width: 565px) {
          flex-shrink: 0;
        }

        &:hover {
          > div {
            &::before {
              content: "";
              object-fit: cover;
              background-color: #2626264d;
              border-radius: 16px;
              display: block;
              position: absolute;
              inset: 0;
            }
          }
        }

        > div {
          position: relative;

          img {
            display: block;
            width: 100%;
            object-fit: cover;
            border-radius: 16px;
          }
        }

        p {
          font-size: 18px;
          font-weight: 700;
        }
      }
    }
  }
}

.popular-brands {
  padding-top: 48px;

  .popular-brands__content {
    .h2-title {
      margin-bottom: 24px;
    }

    .popular-brands__items {
      display: grid;
      grid-template: auto / repeat(3, 1fr);
      grid-gap: 16px;

      @media (max-width: 565px) {
        display: flex;
        flex-direction: column;
      }

      .popular-brands__item {
        display: flex;
        flex-direction: column;
        grid-gap: 8px;
        flex-shrink: 0;

        p {
          font-size: 14px;
          font-weight: 700;
        }

        .popular-brands__item-images {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          grid-gap: 4px;
          overflow: hidden;
          border-radius: 16px;

          @media (max-width: 1024px) {
            grid-template-columns: repeat(3, 1fr);
          }

          @media (max-width: 565px) {
            grid-template-columns: repeat(4, 1fr);
          }

          img {
            aspect-ratio: 7 / 10;
            object-fit: cover;
            display: block;
            max-height: 130px;
            width: 100%;

            @media (max-width: 1024px) {
              &:last-child {
                display: none;
              }
            }

            @media (max-width: 565px) {
              &:last-child {
                display: block;
              }
            }
          }
        }
      }
    }
  }
}

.popular-week {
  padding-top: 48px;

  .popular-week__content {
    .popular-week__top {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      grid-gap: 20px;
      margin-bottom: 24px;
    }

    .popular-week__btns {
      display: flex;
      flex-direction: row;
      align-items: center;
      grid-gap: 12px;

      .popular-week__prev, .popular-week__next {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid #262626;
        outline: none;

        &.is-disabled {
          opacity: 0.6;
          pointer-events: none;
          border-color: #2626265c;
        }
      }
    }

    .popular-week__items {
      .popular-week__item {
        display: flex;
        flex-direction: column;
        align-items: center;

        > div {
          border-radius: 16px;

          img {
            display: block;
            border-radius: 16px;
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }

        > p {
          &:nth-child(2) {
            margin-top: 12px;
            font-weight: 700;
          }

          &:nth-child(3) {
            display: flex;
            flex-direction: row;
            align-items: center;
            grid-gap: 4px;
            font-size: 14px;
            color: #747474;
          }
        }
      }
    }
  }
}

.shop {
  padding: 48px 0;

  .h2-title {
    margin-bottom: 24px;
  }

  .shop__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 16px;

    @media (max-width: 1024px) {
      grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 565px) {
      grid-template-columns: repeat(1, 1fr);
      grid-gap: 8px;
    }
  }

  .shop__item {
    border-radius: 16px;
    background: linear-gradient(0deg, #FBF6F1 0%, #E2E8F7 100%);
    place-items: center;
    width: 100%;
    height: 142px;
    display: grid;
    position: relative;
    overflow: hidden;

    &:hover {
      &::after {
        content: "";
        background-color: #2626264d;
        position: absolute;
        inset: 0;
      }
    }

    @media (max-width: 565px) {
      height: 87px;
    }

    p {
      color: #262626;
      font-size: 24px;

      span {
        font-weight: 700;
      }
    }
  }
}

.about {
  .about__content {
    >h2 {
      font-size: 32px;
      font-weight: 700;
      padding: 0px 32px 48px;
      text-align: center;

      @media (max-width: 768px) {
        padding: 0px 16px 46px;
      }
    }

    >div {
      display: flex;
      align-items: flex-start;
      grid-gap: 32px;

      @media (max-width: 768px) {
        flex-direction: column !important;
      }

      &:nth-child(2) {
        margin-bottom: 48px;
        flex-direction: row;
      }

      &:nth-child(3) {
        margin-bottom: 48px;
        flex-direction: row-reverse;
      }

      &:nth-child(4) {
        flex-direction: row;
      }

      >div {
        h2 {
          margin-bottom: 12px;
          font-size: 18px;
        }

        h3 {
          margin-bottom: 8px;
          font-size: 16px;
        }

        p {
          margin-bottom: 12px;
          line-height: 20px;
          color: #000;
        }
      }

      img {
        max-width: 400px;
        width: 100%;
        height: auto;

        @media (max-width: 768px) {
          max-width: 100%;
        }
      }
    }
  }
}

.contact {
  padding: 48px 0;
  margin-top: 48px;
  background: linear-gradient(180deg, #fbf6f1 0%, #e2e8f7 100%);

  .contact__content {
    .h2-title {
      margin-bottom: 24px;
    }
  }

  .contact__inputs {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    grid-gap: 12px;
    max-width: 500px;
    width: 100%;
  }

  .contact__input {
    padding: 10px;
    outline: none;
    font-weight: 400;
    font-size: 16px;
    color: #262626;
  }

  textarea {
    resize: none;
  }
}

.notification {
  position: fixed;
  top: 10px;
  transform: translateY(-150%);
  left: 50%;
  padding: 20px 40px;
  border-radius: 20px;
  background: #19c119;
  color: #fff;
  font-size: 20px;
  z-index: 3;
  transition: all 0.2s ease-in;

  &.active {
    transform: translateY(0%);
  }
}

.footer {
  padding-bottom: 20px;
  background: #f3f3f3;

  .footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
    align-items: center;

    @media (max-width: 768px) {
      margin-bottom: 15px;
      display: flex;
      flex-direction: column;
      grid-gap: 15px;
    }
  }

  .footer__logo {
    padding-top: 20px;
    width: 100px;
    height: 100px;
    flex-shrink: 0;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .footer__text {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-gap: 15px;
    text-align: center;
    
    @media (max-width: 768px) {
      padding-top: 0;
    }
  }

  .footer__nav {
    flex-shrink: 0;
  }

  .footer__nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style-type: none;

    li {
      flex-shrink: 0;

      &:hover {
        a {
          color: #fff;
          background: #262626;
        }
      }
    }

    a {
      display: block;
      color: #262626;
      font-weight: 700;
      padding: 16px;
      transition: all 0.2s ease-in;
    }
  }
}