html {
  --header-offset: 74px;
  scroll-behavior: smooth;
}

@media (width <= 630px) {
  html {
    --header-offset: 150px;
  }
}

body {
  font-family: "Noto Sans", sans-serif;
  color: #000;
}

.wrapper {
  overflow: clip;
  min-height: 100%;

  display: flex;
  flex-direction: column;
}

.wrapper > main {
  flex-grow: 1;
}

[class*="__container"] {
  max-width: 1440px;
  padding-inline: clamp(15px, 3vw, 100px);
  margin-inline: auto;
}

/* Components */

/* ---------- */
/* header */

.header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  padding-block: clamp(8px, 2vw, 20px);
  width: min(calc(100% - (2 * clamp(15px, 3vw, 100px))), 1440px);
  transform: translateX(-50%);
  border-bottom: 1px solid #000;
}
.header__container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

@media (width <= 630px) {
  .header__container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 15px;
  }
}

.header__leftsection {
  display: flex;
  flex-direction: row;
  gap: clamp(10px, 2vw, 50px);
}

@media (width <= 630px) {
  .header__leftsection {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 15px;
  }
}

.header__logo {
  width: clamp(32px, 8vw, 92px);
  height: clamp(9px, 8vw, 18px);
}

.header__leftmenu {
}
.menu {
}

.menu__items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 50px);
}

.menu__items--right {
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
}
.menu__item {
  font-size: 11px;
  font-weight: 600;
}
.menu__link {
}
.header__rightsection {
}

.header__rightmenu {
}

.header__rightitems {
}
.header__rightitem {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 18px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.header__rightitem svg {
  display: block;
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
}

/* --------- */

/* page */

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-offset) + clamp(32px, 4vw, 64px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;

  background-color: #aaaaaa;
}
.hero__container {
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(10px, 2vw, 25px);

  display: flex;
  flex-direction: column;
  gap: clamp(18px, 5vw, 38px);
  margin-bottom: clamp(8px, 2vw, 20px);
}

.hero figure {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__beground {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__titles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero__title {
  font-weight: 300;
  font-size: clamp(20px, 5vw, 50px);
}

.hero__titles p {
  max-width: 300px;
  font-size: 18px;
  font-weight: 600;
}

.hero__button {
  max-width: 228px;
  max-height: 40px;

  border: 1px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 12px;
  padding: 10px;
}

.hero__bottom--line {
  width: 100%;

  border-top: 1px solid #000;
}
/* -------- */

/* pages */
.pages {
}
.pages__container {
  display: flex;
  flex-direction: column;
  margin-top: clamp(75px, 5vw, 175px);
}

.pages__title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(75px, 5vw, 175px);
}

.pages__title p {
  width: min(100%, 58ch);
  margin-inline: auto;
  text-align: center;

  font-size: clamp(9px, 5vw, 18px);
  font-weight: 600;
}

.products {
  display: flex;
  flex-direction: column;
}
.menu-products {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 5vw, 40px);

  font-size: 11px;
  font-weight: 600;
}
.products-items-left {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(30px, 5vw, 68px);
}
.products-item {
  cursor: pointer;
}
.products-items-right {
  display: flex;
  align-items: center;
}

.products-items-right .products-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (width <= 630px) {
  .menu__items,
  .menu__items--right,
  .products-items-left,
  .products-items-right {
    justify-content: center;
  }

  .menu-products {
    justify-content: center;
  }
}

.products__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}

.items__top,
.items__bottom {
  display: contents;
}

.products__item {
  position: relative;
  min-width: 0;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}

.products__item img {
  display: block;
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  position: relative;
  z-index: 0;
}
.products__bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;

  border-top: 1px solid #000;
}

.product__description {
  padding: 10px 12px;
  font-size: 13px;
}

.products__title {
}
.product__button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #000;
  padding: 12px;
}

.product__button svg {
  display: block;
}
.product__bottom {
}

.products__header {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;

  display: flex;
  align-items: flex-start;
  z-index: 2;
}
.products__right-header {
  border: 2px solid #000;
  background-color: #fff;
  width: 43px;
  height: 19px;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.products__right-header--black {
  border: 2px solid #000;
  background-color: #000;
  color: #fff;
  width: 43px;
  height: 19px;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.products__left-header {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (width <= 900px) {
  .products__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 520px) {
  .products__items {
    grid-template-columns: 1fr;
  }
}
/* -------- */

/* gender */

.gender {
  margin-top: clamp(20px, 5vw, 70px);
}
.gender__container {
  display: flex;
  flex-direction: row;
}
.gender__men,
.gender__women {
  position: relative;
  overflow: hidden;
  border: 1px solid #000;
}
.gender__title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 5vw, 12px);
  text-align: center;
}
.gender__title .hero__title {
  font-size: clamp(28px, 5vw, 50px);
}
.gender__button {
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #000;
  width: 223px;
  height: 41px;
  font-size: 12px;
  font-weight: 600;
}

.gender__button:hover {
  background-color: #000;
  color: #fff;
}

.gender__men img,
.gender__women img {
  display: block;
  width: 100%;
  height: auto;
}
.gender__women {
  border-left: none;
}

@media (width <= 767px) {
  .gender__container {
    flex-direction: column;
  }

  .gender__women {
    border-left: 1px solid #000;
    border-top: none;
  }
}

/* -------- */

/* -------- */
