* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

@font-face {
  font-family: "Gotham Pro";
  src: url("../assets/fonts/Gotham Pro/gothampro_light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Pro";
  src: url("../assets/fonts/Gotham Pro/gothampro.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Pro";
  src: url("../assets/fonts/Gotham Pro/gothampro_medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gotham Pro";
  src: url("../assets/fonts/Gotham Pro/gothampro_bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: 0.3rem;
  list-style-type: none;
  /* font-size: 16px; */

  font-size: calc(16 * (100vw / 1920));

  @media (max-width: 1440px) {
    font-size: calc(16 * (100vw / 1440));
  }

  @media (max-width: 960px) {
    font-size: calc(16 * (100vw / 960));
  }

  @media (max-width: 768px) {
    font-size: calc(16 * (100vw / 768));
  }

  @media (max-width: 480px) {
    font-size: calc(16 * (100vw / 480));
  }

  @media (max-width: 360px) {
    font-size: calc(16 * (100vw / 360));
  }
}

body {
  font-family: "Gotham Pro", sans-serif;
  background-color: #fcf7f3;
}

a {
  text-decoration: none;
}

button:hover {
  cursor: pointer;
}

li {
  list-style-type: none;
}

input,
span,
button {
  font-family: "Gotham Pro", sans-serif;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
}

input {
  outline: none;
}

/* Куки  */

.cookies {
  width: 56.25rem;
  height: 6.375rem;
  position: fixed;
  z-index: 110;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fcf7f3;
  border: 1px solid #6b68684d !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.2s,
    opacity 0.2s ease;
}

.cookies--open {
  visibility: visible;
  opacity: 1;
}

.cookies p {
  line-height: 1.2;
  font-size: 0.99rem;
  letter-spacing: -0.02em;
}

.cookies p span a {
  border-bottom: 1px solid black;
  transition: all 0.3s;
}

.cookies p span a:visited {
  border-bottom: 1px solid black;
  color: inherit;
}

.cookies p span a:hover {
  opacity: 0.8;
  color: #e64410;
  border-bottom: 1px solid #e64410;
}

.cookies button {
  height: 3.375rem;
  border: none;
  border-radius: 0.25rem;
  font-weight: 300;
  padding: 1rem 1.5rem;
  color: white;
  font-size: 1rem;
  background-color: #252324;
}

.cookies button:hover {
  background-color: black;
  transition: all 0.2s ease-in-out;
}

/* Куки адаптив  */

@media (max-width: 960px) {
  .cookies {
    width: calc(100% - 6rem) !important;
    height: 6.375rem;
    position: fixed;
    z-index: 110;
    bottom: 2.5rem;
    background-color: #fcf7f3;
    border: 1px solid #6b68684d !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 1.5rem;
    visibility: hidden;
    opacity: 0;
    transition:
      visibility 0.2s,
      opacity 0.2s ease;
  }

  .cookies--open {
    visibility: visible;
    opacity: 1;
  }

  .cookies p {
    font-size: 1rem;
    margin: 0;
  }

  .cookies button {
    width: 8rem;
    height: 3.375rem;
    border-radius: 0.25rem;
    font-weight: 300;
    padding: 0;
    color: white;
    font-size: 1rem;
    background-color: #252324;
  }
}

@media (max-width: 480px) {
  .cookies {
    display: none;
  }

  .cookies--open {
    display: none;
  }
}

.category__header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.category__header-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.link {
  color: #667085;
  line-height: 1.4;
  letter-spacing: -0.05em;
  transition: all 0.2s ease;
}

.category__header-nav {
  color: #667085;
}

.current-link {
  color: #000000;
}

.main-link:hover {
  color: black;
  cursor: pointer;
}

.category__header-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #0000004d;
}

.category__header-title h2 {
  font-size: 3.5rem;
  letter-spacing: -0.05em;
}

.category__header-title span {
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.05em;
  color: #667085;
}

@media (max-width: 480px) {
.category__header-title h2 {
  font-size: 2.5rem;
  letter-spacing: -0.05em;
}
}