/* css base */
* {
	padding: 0px;
	margin: 0px;
	border: none;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
a, a:link, a:visited  {
  text-decoration: none;
  color: inherit;
}
a:hover  {
  text-decoration: none;
}
aside, nav, footer, header, section, main {
	display: block;
}
h1, h2, h3, h4, h5, h6, p {
  font-size: inherit;
	font-weight: inherit;
	margin: 0;
}
ul, ul li {
	list-style: none;
}
img {
	vertical-align: top;
}
img, svg {
	max-width: 100%;
	height: auto;
}
address {
  font-style: normal;
}
input, textarea, button, select {
	font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}
input::-ms-clear {
	display: none;
}
textarea {
	resize: vertical;
}
button, input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}
button::-moz-focus-inner {
	padding: 0;
	border: 0;
}
label {
	cursor: pointer;
}
legend {
	display: block;
}
input[type='file'] {
	max-width: 100%;
}
:root {
  --main-black: #222021;
  --main-blue: #497AF0;
  --main-gray: #F4F4F4;
  --main-white: #FFFFFF;
  --light-gray: #22202130;
  --md-gray: #22202150;
  --light-blue: #EDF2FE;
  --red: #E74747;
  --violet: #ED7EFF;
}

/* Fonts */
@font-face {
  font-family: 'Glyphter';
  src: url('../fonts/Glyphter/Glyphter.eot');
  src: url('../fonts/Glyphter/Glyphter.eot?#iefix') format('embedded-opentype'),
      url('../fonts/Glyphter/Glyphter.woff') format('woff'),
      url('../fonts/Glyphter/Glyphter.ttf') format('truetype'),
      url('../fonts/Glyphter/Glyphter.svg#Glyphter') format('svg');
  font-weight: normal;
  font-style: normal;
}
h1, h2, h3{
  font-weight: 600;
  line-height: 1.3;
}
h1 {
  font-size: 4.8rem;
}
h2 {
  font-size: 3.2rem;
}
h3 {
  font-size: 2.4rem;
}
.text_lead {
  font-size: 1.8rem;
  line-height: 1.5;
  font-weight: 600;
}
.text {
  font-size: 1.6rem;
  line-height: 1.5;
}
.text_small {
  font-size: 1.4rem;
  line-height: 1.5;
}
.text_semi{
  font-weight: 600;
}
.text_tabs{
  text-transform: uppercase;
  font-size: 1.4rem;
  line-height: 1.3;
}

@media (max-width: 1440px){
  h1 {
    font-size: 3.2rem;
  }
  h2 {
    font-size: 2.4rem;
  }
  h3 {
    font-size: 1.8rem;
  }
  .text_lead {
    font-size: 1.6rem;
  }
  .text {
    font-size: 1.4rem;
  }
  .text_small {
    font-size: 1.2rem;
  }
  .text_tabs{
    font-size: 1.1rem;
  }
}

@media (max-width: 767px){
  h1 {
    font-size: 2.6rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.6rem;
  }
  .text_lead {
    font-size: 1.4rem;
  }
  .text {
    font-size: 1.3rem;
  }
  .text_small {
    font-size: 1.1rem;
  }
  .text_tabs{
    font-size: 1rem;
  }
}

body{
  font-family: "Inter", sans-serif;
  color: var(--main-black);
}

/* Icons */
[class*='icon-']:before{
	display: inline-block;
   font-family: 'Glyphter';
   font-style: normal;
   font-weight: normal;
   font-size: 1.6rem;
   line-height: 1;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale
}
.icon-sale:before{content:'\0041';}
.icon-check:before{content:'\0042';}
.icon-close:before{content:'\0043';}
.icon-plus:before{content:'\0044';}
.icon-phone:before{content:'\0045';}
.icon-file:before{content:'\0046';}
.icon-list:before{content:'\0047';}
.icon-cards:before{content:'\0048';}
.icon-cart:before{content:'\0049';}
.icon-menu:before{content:'\004a';}
.icon-filter:before{content:'\004b';}
.icon-mail:before{content:'\004c';}
.icon-phone-light:before{content:'\004d';}
.icon-plus-small:before{content:'\004e';}
.icon-close-small:before{content:'\004f';}
.icon-trash:before{content:'\0051';}
.icon-search:before{content:'\0052';}
.icon-download:before{content:'\0053';}
.icon-arrow-next:before{content:'\0054';}
.icon-arrow-prev:before{content:'\0054';transform: rotate(180deg);}
.icon-tag:before{content:'\0055';}

/* Layouts */
html, body{
  height: 100%;
  font-size: 10px;
}
.page{
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.content{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding: 1.6rem 0 8rem;
}
.wrapper,
.header__wrapper{
  max-width: 172.8rem;
  width: 100%;
  padding: 0 3.2rem;
  margin: 0 auto;
}
.wrapper_adapt {
  display: grid;
  grid-template-columns: 8fr 1fr 3fr;
  gap: 1.6rem;
  justify-content: space-between;
}

.wrapper_adapt:has(.wrapper__section_8) .wrapper__section_3 {
  grid-area: 1 / 3 / 2 / 4;
}
.wrapper__section_9 {
  grid-area: 1 / 1 / 2 / 3;
}
.wrapper_bg--gray{
  background-color: var(--main-gray);
  padding: 4.8rem 0 8rem;
}
.wrapper--catalog {
  display: grid;
  grid-template-columns: 36rem auto;
  gap: 1.6rem 6.4rem;
}
.main {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

@media (max-width: 1440px){
  .wrapper_adapt {
    display: flex;
    flex-direction: column;
  }
  .content{
    gap: 5.6rem;
    padding: 1.6rem 0 5.6rem;
  }
  .wrapper,
  .header__wrapper{
    padding: 0 2.4rem;
  }
  .wrapper--catalog {
    display: flex;
    flex-direction: column;
  }
  .main {
    gap: 2.4rem;
  }
  .wrapper_bg--gray{
    padding: 2.4rem 0 5.6rem;
  }
  .wrapper_adapt:has(.wrapper__section_8) {
    gap: 5.6rem;
  }
}

@media (max-width: 767px){
  .wrapper_adapt {
    gap: 0.8rem;
  }
  .wrapper,
  .header__wrapper{
    padding: 0 1.6rem;
  }
  .content{
    gap: 4rem;
    padding: 0.8rem 0 4rem;
  }
  .wrapper_bg--gray{
    padding: 2.4rem 0 4rem;
  }
  .wrapper_adapt:has(.wrapper__section_8) {
    gap: 4rem;
  }
}

/* Buttons */
.button {
  height: 4.8rem;
  width: fit-content;
  padding: 0 2.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 0.8rem;
  background-color: var(--main-gray);
  transition: all ease .2s;
}
a.button_blue, .button_blue {
  background-color: var(--main-blue);
  color: var(--main-white);
}
.button:disabled{
  opacity: 0.6;
}
a.button_rounded {
  color: var(--main-blue);
  border: 2px solid var(--main-blue);
  background-color: var(--main-white);
}
.button-purchase{
  padding-top: 0.8rem;
}
.button-purchase .button{
  padding: 0 1.6rem;
  width: 100%;
  position: relative;
}
.button-purchase .button_rounded{
  justify-content: center;
}
.button-purchase .icon-tag{
  position: absolute;
  top: 2.2rem;
  right: 2.2rem;
}
.button-purchase .icon-tag::before{
  font-size: 0.8rem;
}
.button-purchase__text_desk{
  display: block;
}
.button-purchase__text_mobile{
  display: none;
}
.button-purchase[data-use="modalButton"].active .button{
  background-color: var(--main-black);
  color: var(--main-white);
}
.button-purchase[data-use="modalButton"].active .icon-tag{
  transform: rotate(180deg);
}
.button-purchase[data-use="modalButton"].active .modal-wrapper{
  display: block;
}
@media (min-width: 1440px) {
  .button:hover {
    color: var(--main-blue);
  }
  a.button_blue:hover, .button_blue:hover {
    background-color: var(--main-black);
    color: var(--main-white);
  }
  .button_rounded:hover {
    color: var(--main-black);
    border-color: var(--main-black);
  }
}
@media (max-width: 1440px) {
  .button {
    height: 4rem;
    padding: 0 1.6rem;
  }
  .button-purchase .icon-tag{
    top: 1.8rem;
    right: 1.8rem;
  }
}
@media (max-width: 767px) {
  .button {
    height: 3.2rem;
  }
  .button-purchase .button{
    gap: 0.8rem;
  }
  .button-purchase__text_desk{
    display: none;
  }
  .button-purchase__text_mobile{
    display: block;
  }
  .button-purchase .icon-tag{
    top: 1.4rem;
    right: 1.4rem;
  }
  .button-purchase[data-use="modalButton"].active .modal{
    display: flex;
  }
}

/* Header */
.header{
  width: 100%;
  background-color: var(--main-white);
  position: relative;
}
.header__top {
  display: flex;
  justify-content: space-between;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.header__top a{
  transition: color ease .2s;
}
.header__main-row{
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-top: 1.6rem;
}
.header__logo {
  height: 4rem;
  flex-shrink: 0;
  margin-right: auto;
}
.header__search {
  min-width: 0;
  flex: 1 1 auto;
  max-width: 85.2rem;
}
.header__search-btn,
.header__cart-btn {
  display: none;
  padding: 0 0.8rem;
  width: 4rem;
  height: 2.4rem;
  align-items: flex-end;
  justify-content: center;
}
.header__btn {
  flex: 0 0 auto;
  justify-self: flex-end;
}
.header__categories{
  width: 100%;
}
.header__burger-btn{
  width: 2.4rem;
  height: 2.4rem;
  font-size: 2.4rem;
  position: relative;
}
.header__burger-icon{
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity ease .2s, transform ease .2s;
  opacity: 0;
  transform: rotate(-45deg);
}
.header__burger-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: calc(100vh - 13.4rem);
  flex-direction: column;
  z-index: 10;
  background-color: var(--main-white);
  transform: translateX(100%);
  transition: transform ease .2s;
}
.header__burger-menu .header__btn {
  display: none;
}
.header__burger-menu-buttons{
  flex: 1 1 auto;
  display: flex;
  padding: 0 1.6rem 2.4rem;
  gap: 0.8rem;
  align-items: end;
}
@media (min-width: 1440px){
  .header__top a:hover{
    color: var(--main-blue);
  }
  .header__burger-btn{
    display: none;
  }
}
@media (max-width: 1440px){
  .header:has(.header__burger-menu.open) {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
  }
  .header__wrapper{
    border-bottom: 1px solid var(--light-gray);
  }
  .header__logo {
    height: 3rem;
  }
  .header__main-row{
    padding-bottom: 1.6rem;
  }
  .header__main-row:has(.header__categories){
    display: none;
  }
  .header__burger-btn.open .icon-close,
  .header__burger-btn .icon-menu {
    opacity: 1;
    transform: rotate(0);
  }
  .header__burger-btn.open .icon-menu{
    opacity: 0;
    transform: rotate(-45deg);
  }
  .header__search  {
    z-index: 10;
    position: absolute;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.8rem);
    transition: all ease .2s;
  }
  .header__search-btn {
    display: inline-flex;
  }
  .header__search-btn.checked ~ .header__search  {
    height: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .header__burger-menu {
    display: inline-flex;
  }
  .header__burger-menu.open {
    transform: translateX(0);
  }
}
@media (max-width: 767px){
  .header__top{
    display: none;
  }
  .header__logo {
    height: 2.6rem;
  }
  .header__btn {
    display: none;
  }
  .header__cart-btn {
    display: inline-flex;
  }
  .header__search-btn,
  .header__cart-btn {
    padding: 0;
    width: 2.4rem;
  }
  .header__burger-menu{
    height: calc(100vh - 5.8rem);
  }
  .header__burger-menu .header__btn {
    display: flex;
  }
}

/* Navigation */
.navigation-list {
  display: flex;
  gap: 4rem;
}
.navigation-link{
  transition: color ease .2s;
}
.header__burger-menu-list .navigation{
  display: none;
}
@media (min-width: 1440px){
  .navigation-link:hover{
    color: var(--main-blue);
  }
}
@media (max-width: 767px){
  .header__burger-menu-list .navigation{
    display: block;
    padding: 0.8rem 1.6rem 0;
  }
  .header__burger-menu-list .navigation-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
  }
}

/* Search */
.search {
  position: relative;
  box-sizing: border-box;
  background-color: var(--main-gray);
  border-radius: 0.8rem;
  height: 4.8rem;
  display: flex;
  align-items: center;
  transition: border-color ease .2s;
  border: 1px solid var(--main-gray);
}
.search:has(.search__input:focus){
  border-color: var(--light-gray);
}
.search__input {
  padding-left: 4rem;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.4rem;
}
.search .icon-search{
  position: absolute;
  left: 1.6rem;
  line-height: 0;
}
.search__input:focus-visible {
  outline: none;
}
.search__btn_clear {
  background: no-repeat center url("./src/close-small-icon.svg");
  width: 7.2rem;
  height: 1.6rem;
  padding: 0 2.4rem 0 0.8rem;
  transition: all ease .2s;
  opacity: 0;
  visibility: hidden;
}
.search:has(.search__input:focus) .search__btn_clear{
  opacity: 1;
  visibility: visible;
}
.search__btn_submit {
  color: var(--main-blue);
  padding: 0 2.4rem;
  position: relative;
}
.search__btn_submit::before{
  content: "";
  width: 1px;
  height: 1.8rem;
  background-color: var(--main-blue);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 1440px){
  .search:hover{
    border-color: var(--light-gray);
  }
}
@media (max-width: 1440px){
  .search {
    height: 4rem;
  }
  .search__input {
    font-size: 1.2rem;
  }
}
@media (max-width: 767px){
  .search {
    height: 3.2rem;
  }
  .search__input {
    font-size: 1.1rem;
  }
}

/* Images */
.logo {
  width: 100%;
  height: 100%;
}

/* Categories */
.categories {
  position: relative;
  background-color: var(--main-gray);
  border-radius: 0.8rem;
  height: 5.6rem;
  padding: 0 4rem;
}
.categories__tabs {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.categories__tabs-el{
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all ease .2s;
  z-index: 10;
}
.categories__tab {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: color ease .2s;
}
.categories__tab-tag {
  transition: transform ease .2s;
}
.categories__tab-tag:before {
  font-size: 0.64rem;
}
.categories__tab-content {
  height: 0;
  overflow: hidden;
  transform: translateY(-1.6rem);
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  transition: transform ease .2s, opacity ease .2s;
}
.categories__list {
  width: 100%;
  background-color: var(--main-gray);
  border-radius: 0.8rem;
  padding: 4rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.4rem 4rem;
}
.categories__list-el {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.categories__list-el a {
  transition: color ease .2s;
}
.categories__list-el_aside {
  grid-area: 1 / 5 / 5 / 6;
}
.categories__list_inner {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.categories__tab-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: color ease .2s;
}
.categories__list-icon {
  position: relative;
  height: 2.4rem;
  width: 2.4rem;
}
.categories__mobile {
  overflow-x: hidden;
  padding: 4rem 2.4rem;
}
.categories__mobile-list {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
.categories__mobile-btn{
  position: relative;
}
.categories__mobile-btn .icon-arrow-next{
  position: absolute;
  right: -3.2rem;
  bottom: 0.2rem;
}
.categories__mobile-btn .icon-arrow-prev{
  position: absolute;
  left: -4rem;
  font-size: 1.2rem;
  bottom: 0.8rem;
}
.categories__mobile-link {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.categories__mobile-link:nth-child(n){
  color: var(--main-blue);
}
.categories__mobile-link .icon-sale{
  font-size: 3.2rem;
  line-height: 0;
}
.categories__mobile-content {
  background-color: var(--main-white);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 2.4rem;
  transform: translateX(100%);
  transition: transform ease .2s;
  z-index: 10;
  padding: 4rem 2.4rem 4rem 9.6rem;
}
.categories__mobile-item.open .categories__mobile-content{
  transform: translateX(0);
}
.categories__mobile-content-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
  overflow: auto;
}
.categories__mobile-content-link {
  font-size: 1.4rem;
  font-weight: 600;
}
.categories__mobile-content-list_inner {
  padding-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.categories__mobile-content-list_inner .categories__mobile-content-link {
  font-weight: normal;
}

@media (min-width: 1440px){
  .categories__tabs-el:hover .categories__tab,
  .categories__tabs-el:hover .categories__tab-link {
    color: var(--main-blue);
  }
  .categories__tabs-el:hover .categories__tab-tag {
    transform: rotate(180deg);
  }
  .categories__tabs-el:hover .categories__list-icon{
    background-image: none;
  }
  .categories__tabs-el:hover .categories__tab-content{
    padding-top: 0.4rem;
    height: auto;
    transform: translateY(0);
    opacity: 1;
  }
  .categories__list-el a:hover {
    color: var(--main-blue);
  }
}
@media (max-width: 767px){
  .categories__mobile {
    padding: 3.2rem 1.6rem;
  }
  .categories__mobile-content {
    padding: 3.2rem 1.6rem 3.2rem 4.8rem;
    height: calc(100% - 3.625rem);
    gap: 1.6rem;
  }
  .categories__mobile-list {
    gap: 1.6rem;
  }
  .categories__mobile-link {
    gap: 0.8rem;
  }
  .categories__mobile-btn .icon-arrow-prev{
    left: -2.4rem;
    bottom: 0.52rem;
  }
  .categories__mobile-btn .icon-arrow-next{
    right: -2.4rem;
    bottom: -0.2rem;
  }
  .categories__mobile-content-list {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
  }
}

/* Banner */
.banner {
  overflow: hidden;
  border-radius: 0.8rem;
  position: relative;
}
.banner__img-desktop {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: right top;
}
.banner__img-mobile {
  display: none;
  width: 100%;
  object-fit: cover;
  object-position: right top;
  max-height: 50vh;
}
.banner__content {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4.8rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.banner__title{
  display: block;
  max-width: 70%;
}
.banner_alt .banner__title {
  grid-area: 1 / 1 / 3 / 2;
}
.banner_alt .banner__content {
  padding: 5.6rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  grid-auto-flow: column;
}
@media (max-width: 1440px){
  .banner__content {
    padding: 3.2rem;
  }
  .banner_alt .banner__content {
    padding: 4rem;
    position: static;
    display: flex;
    flex-direction: column;
  }
  .banner_alt .banner__img-desktop{
    position: absolute;
    top: 0;
    right: 0;
    z-index: -10;
    object-position: top 0 right -24rem;
  }
}
@media (max-width: 767px){
  .banner:has(.banner__img-mobile) .banner__img-desktop{
    display: none;
  }
  .banner:has(.banner__img-mobile) .banner__img-mobile{
    display: block;
  }
  .banner__content {
    padding: 2.4rem 1.6rem;
    max-width: 80%;
  }
  .banner_alt .banner__content {
    padding: 3.2rem;
  }
  .banner__title{
    max-width: 100%;
  }
  .banner_alt .banner__img-mobile{
    z-index: -10;
    position: absolute;
    top: 0;
    right: 0;
  }
}

/* Banners */
.banners {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
.banners__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
}
.banners__item {
  display: flex;
  justify-content: end;
  position: relative;
  background-color: var(--main-gray);
  border-radius: 0.8rem;
  height: 22rem;
}
.banners__item-link {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: end;
}
.banners__item-img {
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}
.banners__item-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.4rem;
}
.banners__item_violet {
  color: var(--main-blue);
  background-color: var(--light-blue);
}
@media (max-width: 1440px) {
  .banners {
    gap: 1.6rem;
  }
  .banners__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .banners__item {
    height: 14rem;
  }
  .banners__item-content {
    padding: 2.2rem;
  }
}
@media (max-width: 767px) {
  .banners__list {
    display: flex;
    flex-direction: column;
  }
  .banners__item {
    height: 6.4rem;
  }
  .banners__item-content {
    padding: 0.8rem 1.6rem;
    height: 100%;
    width: 70%;
    display: flex;
    align-items: center;
  }
}

/* Pricelist */
.pricelist {
  overflow: hidden;
  border-radius: 0.8rem;
  background-color: var(--light-blue);
  display: flex;
  flex-direction: column;
  padding: 3.2rem;
}
.pricelist__title {
  align-self: baseline;
}
.pricelist__hint {
  align-self: baseline;
  padding-top: 0.8rem;
}
.pricelist__img {
  align-self: center;
  padding-top: 4rem;
}
.pricelist__btn {
  padding-top: 4rem;
}
@media (max-width: 1440px){
  .pricelist {
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    padding: 1.6rem 2.8rem 1.6rem 1.6rem;
  }
  .pricelist__text {
    flex: 1 1 50%;
  }
  
  .pricelist__btn {
    display: flex;
    justify-content: center;
    flex: 1 1 50%;
    padding-top: 0;
  }
  .pricelist__img {
    order: -1;
    padding: 0;
    height: 6.4rem;
  }
}
@media (max-width: 767px){
  .pricelist {
    padding: 1.6rem;
    display: grid;
    grid-template-columns: auto 1fr;
  }
  .pricelist__img {
    order: -1;
    padding: 0;
    height: 4rem;
  }
  .pricelist__btn {
    grid-area: 2 / 2 / 3 / 3;
    justify-content: start;
  }
}

/* Footer */

.footer {
  background-color: var(--main-gray);
  padding: 4.8rem 0 2.4rem;
  border-top: 1px solid var(--light-gray);
}
.footer__wrapper {
  display: grid;
  gap: 4.8rem 3.2rem;
  grid-template-columns: 1fr auto 1fr;
}
.footer__logo {
  height: 4rem;
}
.footer__logo img {
  height: 100%;
}
.footer__content {
  display: grid;
  gap: 3.2rem 1.6rem;
  grid-template-columns: repeat(3, 1fr);
}
.footer__content-block {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.footer__content-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.footer__content-item {
  transition: color ease .2s;
}
.footer__content-link {
  padding-left: 3.2rem;
  position: relative;
}
.footer__content_social .footer__content-item {
  position: relative;
}
.footer__content_social .footer__content-item:last-child {
  padding-top: 1.6rem;
}
.footer__content-icon {
  line-height: 0;
  position: absolute;
  left: 0;
  bottom: 0.2rem;
}
.footer__btn {
  display: flex;
  justify-content: end;
}
.footer__text {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  grid-area: 2 / 1 / 3 / 4;
  opacity: 0.6;
}
@media (min-width: 1440px){
  .footer__content-item:hover a,
  .footer__content-item:hover{
    color: var(--main-blue);
  }
}
@media (max-width: 1440px){
  .footer__wrapper {
    gap: 3.2rem 1.6rem;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer {
    padding: 3.2rem 0 2.4rem;
  }
  .footer__logo {
    height: 3rem;
    grid-area: 1 / 1 / 2 / 4;
  }
  .footer__content {
    gap: 3.2rem 1.4rem;
    grid-area: 2 / 1 / 3 / 4; 
  }
  .footer__content-block {
    gap: 1.6rem;
  }
  .footer__btn {
    grid-area: 3 / 1 / 4 / 2;
    justify-content: start;
  }
  .footer__text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-area: 3 / 2 / 4 / 4;
  } 
}
@media (max-width: 767px){
  .footer__wrapper {
    display: flex;
    flex-direction: column;
  }
  .footer {
    padding: 2.4rem 0;
  }
  .footer__logo {
    height: 2.6rem;
  }
  .footer__content {
    gap: 3.2rem 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__content .footer__content-block:last-child {
    grid-area: 2 / 1 / 3 / 3;
  }
  
  .footer__content-list {
    gap: 0.8rem;
  }
  .footer__content_social .footer__content-item:last-child {
    padding-top: 0.8rem;
  }
  .footer__text{
    display: flex;
    flex-direction: column;
  }
}

/* Slider */
.slider {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  position: relative;
}
.slider .owl-carousel {
  width: calc(100% + 1.6rem);
  margin: 0 -0.8rem;
}
.slider .owl-item {
  padding: 0 0.8rem;
  height: 100%;
}
.slider .owl-wrapper {
  height: 100%;
}
.slider .owl-wrapper-outer {
  overflow: clip;
  overflow-y: visible;
}
.slider__item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0.8rem;
  border: 1px solid var(--light-gray);
}
.slider__item-content{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 0.8rem 1.6rem 1.6rem;
}
.slider__image-wrapper {
  border-radius: 0.8rem;
  overflow: hidden;
  aspect-ratio: 1/1;
  width: 100%;
  position: relative;
    display: flex;
    align-items: center;
}
.slider__image-link {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.slider__image {
  object-fit: cover;
  width: 100%;
}
.slider__item-mod {
  color: var(--main-black);
  opacity: 0.6;
  padding-top: 0.8rem;
}
.slider__item-price {
  padding-top: 1.6rem;
  flex: 1 1 auto;
  display: flex;
  align-items: end;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
}
.slider__item-price_gray {
  font-size: 1.6rem;
  opacity: 0.6;
}
.slider .owl-controls .owl-buttons .owl-prev,
.slider .owl-controls .owl-buttons .owl-next{
  opacity: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -6.4rem;
  width: 5.6rem;
  height: 5.6rem;
  background-color: var(--light-blue);
  color: var(--main-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity ease .2s;
}
.slider .owl-buttons .icon-arrow-prev,
.slider .owl-buttons .icon-arrow-next{
  line-height: 0;
}
.slider .owl-controls .owl-buttons .owl-next{
  right: -6.4rem;
  left: auto;
}
.slider .owl-controls.clickable .owl-buttons .owl-prev:hover,
.slider .owl-controls.clickable .owl-buttons .owl-next:hover{
    opacity: 0.6;
}
.slider .owl-carousel .owl-item, .owl-carousel .owl-wrapper{
  -webkit-transform: none;
}
@media (max-width: 1900px){
  .slider .owl-controls .owl-buttons .owl-next{
    right: -1.4rem;
  }
  .slider .owl-controls .owl-buttons .owl-prev{
    left: -1.4rem;
  }
}
@media (max-width: 1440px){
  .slider {
    gap: 1.6rem;
  }
  .slider .owl-wrapper-outer {
    overflow: visible;
  }
  .slider__item-price {
    font-size: 1.8rem;
  }
  .slider__item-price_gray {
    font-size: 1.4rem;
  }
  .slider .owl-buttons{
    display: none;
  }
}
@media (max-width: 767px){
  .slider__item-content{
    padding: 0.4rem 0.8rem 0.8rem;
  }
  .slider__item-price {
    font-size: 1.6rem;
  }
  .slider__item-price_gray {
    font-size: 1.3rem;
  }
  .slider .owl-wrapper:has(.button-purchase.active) {
    transform: none!important;
  }
}

/* Modal */
.modal {
  position: relative;
  height: 0;
}
.modal-wrapper {
  display: none;
  box-shadow: 0px 4px 32px 0px #00000014;
  position: absolute;
  top: 0.4rem;
  left: 0;
  width: auto;
  z-index: 10;
  background-color: var(--main-white);
  border-radius: 0.8rem;
  padding: 0.4rem;
}
.modal-list {
  direction: rtl;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 36rem;
}
.modal-list > *{
  direction: ltr;
}
.modal-list::-webkit-scrollbar {
  width: 2px;
  background: var(--light-gray);
}
.modal-list::-webkit-scrollbar-thumb {
  background: var(--main-blue);
  border-radius: 5px;
}
.modal-item {
  height: 4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.4rem 0.4rem 0.4rem 2.4rem;
}
.modal-item:not(:last-child) {
  border-bottom: 1px solid var(--light-gray);
}
.modal-info {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
}
.modal-btn {
  display: flex;
  gap: 1rem;
  align-items: center;
  white-space: nowrap;
  height: 3.2rem;
  width: 100%;
  justify-content: center;
  transition: color ease .2s;
}
.modal-actions{
  background-color: var(--main-gray);
  height: 3.2rem;
  width: 13.6rem;
  border-radius: 0.8rem;
}
.modal-actions.active .modal-btn{
  display: none;
}
.modal-btn .icon-cart {
  color: var(--main-blue);
}
.modal-quantity {
  padding: 0 1.6rem;
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}
.modal-actions.active .modal-quantity{
  display: flex;
}
.modal-quantity-input {
  width: 3.2rem;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.5;
}
.modal-quantity-input::-webkit-inner-spin-button {
  display: none;
}
.modal-quantity-dec,
.modal-quantity-inc {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.modal-quantity-dec::before,
.modal-quantity-inc::before {
  content: "";
  position: absolute;
  display: block;
  width: 1.2rem;
  height: 0.2rem;
  border-radius: 0.2rem;
  background-color: var(--main-blue);
}
.modal-quantity-inc::after {
  content: "";
  position: absolute;
  display: block;
  height: 1.2rem;
  width: 0.2rem;
  border-radius: 0.2rem;
  background-color: var(--main-blue);
}
.modal-btn_bg {
  height: 100%;
}
.modal-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  background-color: var(--main-white);
  padding: 1.6rem;
  border-radius: 0.8rem 0.8rem 0 0;
}
@media (min-width: 1440px){
  .modal-btn:hover {
    color: var(--main-blue);
  }
}
@media (max-width: 1440px){
  .modal-quantity {
    padding: 0 1.4rem;
    gap: 0.8rem;
  }
  .modal-quantity-input{
    font-size: 1.4rem;
  }
  .modal-actions{
    width: 11.7rem;
  }
}
@media (max-width: 767px){
  .modal{
    display: none;
    background: var(--light-gray);
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 100;
    height: 100vh;
    width: 100vw;
    flex-direction: column;
    justify-content: end;
  }
  .modal-list{
    max-height: none;
  }
  .modal-wrapper{
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    position: static;
    max-height: calc(100% - 14rem);
  }
  .modal-list{
    max-height: none;
  }
  .modal-header {
    display: flex;
  }
  .modal-item {
    justify-content: space-between;
    padding: 0 1.6rem;
  }
  .modal-quantity {
    padding: 0 0.8rem;
  }
  .modal-quantity-input{
    font-size: 1.3rem;
  }
  .modal-actions{
    width: 9.7rem;
  }
  
}

/* Product */
.product {
  display: grid;
  gap: 6.4rem;
  grid-template-columns: 36rem auto 55rem;
}
.product__img-wrapper{
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  border: 1px solid var(--light-gray);
}
.product__img {
  width: 100%;
  object-fit: cover;
}
.product__info-head {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.product__info-head .text {
  opacity: 0.6;
}
.product__info-body {
  padding-top: 4.8rem;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
.product__info-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.product__variables-marks {
  padding-left: 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 16.6rem;
  gap: 4rem;
  opacity: 0.6;
}
.product__variables-wrapper {
  padding-top: 0.8rem;
}
.product__variables-list {
  max-height: 46.3rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-right: 0.8rem;
}
.product__variables-list::-webkit-scrollbar {
  width: 2px;
  background: var(--light-gray);
}
.product__variables-list::-webkit-scrollbar-thumb {
  background: var(--main-blue);
  border-radius: 5px;
}
.product__variables-item {
  flex-shrink: 0;
  height: 5.6rem;
  padding: 0.4rem 0.4rem 0.4rem 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 16.6rem;
  gap: 4rem;
  background-color: var(--main-gray);
  align-items: center;
  border-radius: 0.8rem;
}
.product__variables-actions {
  width: 100%;
  height: 100%;
  background-color: var(--main-white);
  border-radius: 0.8rem;
}
.product__variables-btn {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  transition: color ease .2s;
}
.product__variables-actions.active .product__variables-btn{
  display: none;
}
.product__variables-btn .icon-cart {
  color: var(--main-blue);
}
.product__variables-quontity {
  padding: 0 1.6rem;
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}
.product__variables-actions.active .product__variables-quontity{
  display: flex;
}
.product__variables-input {
  width: 3.2rem;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.5;
}
.product__variables-input::-webkit-inner-spin-button {
  display: none;
}
.product__variables-dec,
.product__variables-inc {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product__variables-dec::before,
.product__variables-inc::before {
  content: "";
  position: absolute;
  display: block;
  width: 1.2rem;
  height: 0.2rem;
  border-radius: 0.2rem;
  background-color: var(--main-blue);
}
.product__variables-inc::after {
  content: "";
  position: absolute;
  display: block;
  height: 1.2rem;
  width: 0.2rem;
  border-radius: 0.2rem;
  background-color: var(--main-blue);
}
.product__variables-hint {
  opacity: 0.6;
  margin-top: 3.2rem;
}
@media (min-width: 1440px){
  .product__variables-btn:hover{
    color: var(--main-blue);
  }
}
@media (max-width: 1440px){
  .product {
    gap: 4rem 3.2rem;
    grid-template-columns: 21.3rem auto;
  }
  .product__variables{
    grid-area: 2 / 2 / 3 / 3;
  }
  .product__variables-list {
    max-height: none;
    padding-right: 0;
  }
  .product__info-head {
    gap: 0.4rem;
  }
  .product__info-body {
    padding-top: 2.4rem;
    gap: 2.4rem;
  }
  .product__info-section {
    gap: 0.4rem;
  }
  .product__variables-marks {
    padding-left: 1.6rem;
    grid-template-columns: 1fr 1fr 1fr 14.2rem;
    gap: 1.6rem;
  }
  .product__variables-item {
    flex-shrink: 0;
    height: 4.8rem;
    padding: 0.4rem 0.4rem 0.4rem 1.6rem;
    grid-template-columns: 1fr 1fr 1fr 14.2rem;
    gap: 1.6rem;
  }
  .product__variables-hint {
    margin-top: 2.4rem;
  }
  .product__img-wrapper{
    position: sticky;
    top: 1.6rem;
  }
  .product__variables-input {
    font-size: 1.4rem;
  } 
  .product__variables-dec,
  .product__variables-inc {
    width: 1.6rem;
    height: 1.6rem;
  }
}
@media (max-width: 767px){
  .product__variables-marks {
    grid-template-columns: 1fr auto 1fr 9.7rem;
    padding: 0 1.6rem;
    gap: 0.8rem;
  }
  .product {
    gap: 2.4rem;
    display: flex;
    flex-direction: column;
  }
  .product__img-wrapper{
    position: static;
    width: 21.5rem;
  }
  .product__variables{

    margin: 1.2rem -1.6rem 0;
  }
  .product__variables-list {
    gap: 0;
  }
  .product__variables-item {
    grid-template-columns: 1fr auto 1fr 9.7rem;
    height: 4rem;
    gap: 0.8rem;
    border-radius: 0;
    padding: 0.4rem 1.6rem;
  }
  .product__variables-hint {
    padding-left: 1.6rem;
  }
  .product__variables-input {
    font-size: 1.3rem;
  } 
  .product__variables-quontity {
    padding: 0 0.8rem;
  }
}

/* Sidebar navigation */
.sidebar-nav__tabs {
  display: flex;
  flex-direction: column;
}
.sidebar-nav__tabs-item {
  padding-bottom: 3.2rem;
}
.sidebar-nav__tabs-item:nth-child(n + 2) {
  padding-top: 3.2rem;
}
.sidebar-nav__tabs-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color ease .2s;
}
.sidebar-nav__tabs-link .icon-tag{
  line-height: 0;
}
.sidebar-nav__tabs-link .icon-tag::before{
  font-size: 0.8rem;
  line-height: 0;
}
.sidebar-nav__list {
  display: none;
  padding-top: 2.4rem;
  flex-direction: column;
  gap: 1.6rem;
}
.sidebar-nav__tabs-item.active .sidebar-nav__list {
  display: flex;
}
.sidebar-nav__list-link {
  transition: color ease .2s;
}
.sidebar-nav__list-link.active {
  color: var(--main-blue);
}
@media (min-width: 1440px){
  .sidebar-nav__tabs-link:hover {
    color: var(--main-blue);
  }
  .sidebar-nav__list-link:hover {
    color: var(--main-blue);
  }
}
@media (max-width: 1440px){
  .sidebar-nav__tabs{
    display: none;
  }
}

/* Tabs */
.tabs__list {
  display: flex;
  gap: 0.8rem;
}
.tabs__item {
  display: flex;
  align-items: center;
  padding: 0 1.6rem;
  height: 3.2rem;
  background-color: var(--main-white);
  border-radius: 0.8rem;
}
.tabs__item-link{
  transition: color ease .2s;
}
.tabs__item.active .tabs__item-link {
  color: var(--main-blue);
}
@media (min-width: 1440px){
  .tabs__item-link:hover{
    color: var(--main-blue);
  }
}
@media (max-width: 1440px){
  .tabs__item {
    height: 2.4rem;
    padding: 0 0.8rem;
  }
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.cards__list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Product card */
.product-card {
  background-color: var(--main-white);
  border-radius: 0.8rem;
  display: flex;
}
.product-card__img-wrapper {
  border-radius: 0.8rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.product-card__img-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.product-card__img {
  width: 100%;
  object-fit: cover;
}
.product-card__body {
  display: flex;
  gap: 8rem;
  justify-content: space-between;
  flex: 1 1 auto;
  padding: 3.2rem 3.2rem 3.2rem 1.6rem;
}
.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.product-card__purchase {
  width: 23.5rem;
}
.product-card__price {
  color: var(--md-gray);
}
.product-card__price .text_semi{
  color: var(--main-black);
}
.product-card__actions {
  padding-top: 2.6rem;
}
.product-card__actions .modal-wrapper {
  left: auto;
  right: 0;
}
.cards__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--main-white);
  width: 100%;
  height: 4.8rem;
  border-radius: 0.8rem;
}
@media (max-width: 1440px){
  .product-card__img-wrapper{
    max-width: 16.8rem;
  }
  .product-card__body {
    padding: 1.6rem;
  }
  .product-card__actions{
    padding-top: 0.8rem;
  }
  .product-card__info{
    gap: 0.8rem;
  }
  .product-card__purchase{
    width: 21.3rem;
  }
  .cards__btn{
    height: 4rem;
  }
}
@media (max-width: 767px){
  .cards__list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  .tabs__list {
    flex-wrap: wrap;
  }
  .product-card{
    flex-direction: column;
  }
  .product-card__body{
    flex-direction: column;
    gap: 1.6rem;
    padding: 0.4rem 0.8rem 0.8rem;
  }
  .product-card__purchase{
    width: 100%;
  }
  .product-card__title{
    font-weight: 400;
    font-size: 1.3rem;
  }
  .product-card__info .text:not(.text_semi){
    display: none;
  }
  .product-card__info .text_semi{
    font-size: 1.1rem;
    color: var(--md-gray);
    font-weight: 400;
  }
  .product-card__info .text_semi span{
    display: none;
  }
  .product-card__price .text:first-child{
    display: none;
  }
  .product-card__actions{
    padding-top: 0;
  }
  .cards__btn{
    height: 3.2rem;
  }
}

/* Cart */
.cart__products {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
.cart__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.cart__btn_delete {
  height: 2.4rem;
  color: var(--red);
}
.cart__products-list {
  display: grid;
  grid-template-rows: 1fr;
  border-top: 1px solid var(--light-gray);
}
.cart__product {
  min-height: 13.7rem;
  display: flex;
  gap: 1.6rem;
  border-bottom: 1px solid var(--light-gray);
}
.cart__product-img-wrapper {
  height: 12.3rem;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
}
.cart__product-img {
  width: 100%;
  object-fit: cover;
}
.cart__product-info {
  display: flex;
  flex-direction: column;
  padding: 2.4rem 0;
  flex: 1 1 auto;
}
.cart__product-size {
  color: var(--md-gray);
}
.cart__product-btn--delete {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--md-gray);
  margin-top: auto;
}
.cart__product-btn--delete .icon-trash:before{
  color: var(--md-gray);
}
.cart__product-counter {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  border-radius: 0.8rem;
  margin-top: 2.4rem;
  height: 4.8rem;
  border: 1px solid var(--light-gray);
  padding: 0 1.6rem;
}
.cart__product-input {
  height: 2.4rem;
  width: 4rem;
  font-size: 1.4rem;
  line-height: 1.3rem;
  text-align: center;
}
.cart__product-input::-webkit-inner-spin-button {
  display: none;
}
.cart__product-btn--dec,
.cart__product-btn--inc {
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cart__product-btn--dec::before,
.cart__product-btn--inc::before {
  content: "";
  position: absolute;
  display: block;
  width: 1.2rem;
  height: 0.2rem;
  border-radius: 0.2rem;
  background-color: var(--main-blue);
}
.cart__product-btn--inc::after {
  content: "";
  position: absolute;
  display: block;
  height: 1.2rem;
  width: 0.2rem;
  border-radius: 0.2rem;
  background-color: var(--main-blue);
}
.cart__product-summ {
  padding: 2.4rem 0 2.4rem 4.5rem;
}
.cart__product-price {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 0.4rem;
}
.cart__product-price .text{
  font-weight: 600;
}
.cart__product-price .text_small{
  color: var(--md-gray);
}
.cart__form {
  padding-top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}
.cart__checks {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
.cart__checks-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cart__checks-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 2.4rem 2.4rem 2.4rem 6.4rem;
  border: 1px solid var(--light-gray);
  border-radius: 0.8rem;
}
.cart__checks-item::before {
  content: "";
  position: absolute;
  top: 2.4rem;
  left: 2.4rem;
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--light-gray);
  border-radius: 50%;
}
.cart__checks-item:has(.cart__checks-input:checked)::before {
  border: 0.7rem solid var(--main-blue);
  background-color: var(--main-white);
}
.cart__checks-input{
  display: none;
}
.cart__checks-item:has(.cart__checks-input:checked){
  background-color: var(--light-blue);
}
.cart__checks-item-title {
  font-size: 2.2rem;
}
.cart__checks-cond {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart__checks-cond .text_semi {
  white-space: nowrap;
}
.cart__total {
  border-radius: 0.8rem;
  background-color: var(--light-blue);
  height: fit-content;
  padding: 3.2rem;
}
.cart__total-quontity {
  color: var(--md-gray);
  display: flex;
  justify-content: space-between;
}
.cart__total-summ {
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
    align-items: end;
}
.cart__total .button{
  margin-top: 5rem;
  justify-content: center;
  width: 100%;
}
@media (max-width: 1440px){
  .cart__products{
    gap: 2.4rem;
  }
  .cart__product-info{
    padding: 1.6rem 0;
  }
  .cart__product{
    min-height: 12rem;
  }
  .cart__product-img-wrapper {
    height: 10.6rem;
  }
  .cart__product-counter {
    margin-top: 1.6rem;
    height: 4rem;
    padding: 0.8rem;
  }
  .cart__product-input{
    font-size: 1.2rem;
  }
  .cart__product-summ{
    padding: 1.6rem 0 1.6rem 4.2rem;
  }
  .cart__form {
    padding-top: 5.6rem;
  }
  .cart__checks {
    gap: 1.6rem;
  }
  .cart__checks-item-title{
    font-size: 1.8rem;
  }
  .cart__checks-wrapper{
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }
  .cart__checks-wrapper .form{
    width: 50%;
  }
  .cart__total .button{
    margin-top: 2.4rem;
  }
}
@media (max-width: 767px){
  .cart__products{
    gap: 1.6rem;
  }
  .cart__product{
    padding: 1.6rem 0;
    display: grid;
    grid-template-columns: 4.8rem auto auto;
    gap: 1.6 rem 0.8rem;
  }
  .cart__product-img-wrapper{
    height: 4.8rem;
  }
  .cart__product-info{
    grid-area: 1 / 2 / 2 / 4; 
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .cart__product-title{
    grid-area: 1 / 1 / 2 / 3;
  }
  .cart__product-size{
    grid-area: 2 / 1 / 3 / 2;
  }
  .cart__product-btn--delete{
    margin-left: auto;
    grid-area: 2 / 2 / 3 / 3;
  }
  .cart__product-counter{
    height: 3.2rem;
    width: fit-content;
    margin: 0;
    grid-area: 2 / 2 / 3 / 3;
  }
  .cart__product-summ{
    padding: 0;
    grid-area: 2 / 3 / 3 / 4;
  }
  .cart__product-price{
    gap: 0;
  }
  .cart__form {
    gap: 4rem;
    padding-top: 4rem;
  }
  .cart__checks-item{
    padding: 1.6rem 1.6rem 1.6rem 4.4rem;
  }
  .cart__checks-item::before{
    top: 1.6rem;
    left: 1.6rem;
  }
  .cart__checks-cond{
    gap: 0.8rem;
    align-items: end;
  }
  .cart__checks-wrapper .form{
    width: 100%;
  }
  .cart__total{
    padding: 2.4rem 1.6rem;
  }
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.form__item {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 0.4rem;
}
.form__item-title {
  font-size: 1.4rem;
}
.form__item-field {
  font-size: 1.6rem;
  line-height: 1.5;
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid var(--light-gray);
  height: 5.6rem;
  padding: 0 1.6rem;
}
.form__item-field--area {
  font-size: 1.6rem;
  line-height: 1.5;
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid var(--light-gray);
  padding: 1.6rem;
  min-height: 10.8rem;
  text-align: start;
}
.form__input_checkbox {
  display: none;
}
.form__item-field--check{
  position: relative;
  display: flex;
  padding-left: 4rem;
  font-size: 1.6rem;
  line-height: 2.4rem;
}
.form__item-field--check::before{
  position: absolute;
  left: 0;
  content: "";
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  border: 1px solid var(--light-gray);
  font-family: 'Glyphter';
}
.form__item-field--check:has(.form__input_checkbox:checked)::before{
  transform: scale(-1, 1);
  content: "\0042";
  font-size: 1.2rem;
  text-align: center;
  color: var(--main-blue);
}
.form__item-file {
  display: flex;
  gap: 1.6rem;
  color: var(--main-blue);
  align-items: center;
}
.form__item-file .icon-file{
  width: 2.4rem;
}
.form__item-field--file {
  display: none;
}
.form__item-subtext {
  padding-left: 4rem;
  opacity: 0.6;
}
.form .form__link {
  color: var(--main-blue);
}
@media (max-width: 1440px) {
  .form__item-title{
    font-size: 1.2rem;
  }
  .form__item-field {
    font-size: 1.4rem;
    height: 4rem;
  }
  .form__item-field--area{
    min-height: 9.5rem;
    font-size: 1.4rem;
  }
  .form__item-field--check{
    font-size: 1.4rem;
  }
}
@media (max-width: 767px) {
  .form__item-title {
    font-size: 1.1rem;
  }
  .form__item-field{
    height: 3.2rem;
  }
  .form{
    gap: 1.6rem;
  }
  .form__item-field{
    font-size: 1.3rem;
  }
  .form__item-field--check{
    font-size: 1.3rem;
    line-height: 2rem;
    padding-left: 2.8rem;
  }
  .form__item-field--check::before{
    width: 2rem;
    height: 2rem;
  }
  .form__item-field--area{
    padding: 0.8rem;
    font-size: 1.3rem;
  }
}

/* Contacts */
.contacts{
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
.contacts__wrapper {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
.contacts__wrapper-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.contacts__wrapper-col {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  max-width: 40.8rem;
}
.contacts__wrapper-row {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contacts__wrapper-row  .text {
  color: var(--md-gray);
}
.contacts__wrapper-row .text_lead {
  display: flex;
  flex-direction: column;
}
.contacts__link {
  transition: color ease .2s;
}
.contacts__subtitle {
  padding-top: 3.2rem;
}
.contacts__map-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contacts__map-actions {
  display: flex;
  gap: 0.8rem;
}
.contacts__map-btn{
  border-radius: 0.8rem;
  height: 3.2rem;
  padding: 0 1.6rem;
  display: flex;
  align-items: center;
  background-color: var(--light-blue);
}
.contacts__map-btn.active {
  background-color: var(--main-blue);
  color: var(--main-white);
}
.contacts__map {
  border-radius: 0.8rem;
}
@media (min-width: 1440px){
  .contacts__link:hover {
    color: var(--main-blue);
  }
}
@media (max-width: 1440px){
  .contacts__wrapper-row{
    gap: 0.8rem;
  }
  .contacts__wrapper-cols {
    display: flex;
    flex-direction: column;
  }
  .contacts__wrapper-col,
  .contacts,
  .contacts__wrapper{
    gap: 3.2rem;
  }
  .wrapper_adapt:has(.contacts){
    gap: 5.6rem;
  }
}
@media (max-width: 767px){
  .contacts__wrapper-row{
    gap: 0.4rem;
  }
  .contacts__wrapper-col,
  .contacts,
  .contacts__wrapper{
    gap: 2.4rem;
  }
  .wrapper_adapt:has(.contacts){
    gap: 4rem;
  }
}

.conditions {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
.conditions__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8rem;
}
.conditions__cols-item {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  max-width: 48rem;
}
.conditions__list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.conditions__list-item {
  display: flex;
  gap: 1.6rem;
}
.conditions__list-order {
  font-size: 1.6rem;font-weight: 600;
  color: var(--main-blue);
  line-height: 1.5;
}
@media (max-width: 1440px){
  .conditions{
    gap: 3.2rem;
  }
  .conditions__cols{
    gap: 2.4rem;
  }
  .conditions__list-order {
    font-size: 1.4rem;
  }
  .conditions__list-item {
    gap: 0.8rem;
  }
}
@media (max-width: 767px){
  .conditions{
    gap: 4rem;
  }
  .conditions__cols{
    display: flex;
    flex-direction: column;
  }
  .conditions__cols-item{
    gap: 1.6rem;
  }
  .conditions__list{
    gap: 1.6rem;
  }
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.faq__list-item {
  display: flex;
  flex-direction: column;
  padding: 3.2rem 2.4rem;
  border-radius: 0.8rem;
  background-color: var(--main-gray);
}
.faq__list-title::marker {
  content: "";
}
.faq__list-title {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.faq__list-title .text_lead{
  transition: color ease .2s;
  max-width: 66.8rem;
}
.faq__list-plus {
  width: 2.2rem;
  height: 2.2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform ease .2s;
  flex-shrink: 0;
}
.faq__list-plus::after {
  content: "";
  position: absolute;
  display: block;
  width: 0.2rem;
  height: 2.2rem;
  z-index: 10;
  background-color: var(--main-blue);
  border-radius: 0.8rem;
}
.faq__list-plus::before {
  content: "";
  position: absolute;
  display: block;
  height: 0.2rem;
  width: 2.2rem;
  z-index: 10;
  background-color: var(--main-blue);
  transition: width ease .2s;
  border-radius: 0.8rem;
}
.faq__list-item:open {
  gap: 1.6rem;
}
.faq__list-item:open .faq__list-plus{
  transform: rotate(90deg);
}
.faq__list-item:open .faq__list-plus::before{
  width: 0;
}
.faq__list-content {
  max-width: 66.8rem;
}
.faq__list-content .text:nth-child(n + 2){
  padding-top: 0.8rem;
}
.faq__list-content_text--violet {
  background-color: var(--violet);
  color: var(--main-white);
  padding: 0.4rem;
  border-radius: 0.8rem;
}
.faq .faq__list-link {
  color: var(--main-blue);
}
@media (min-width: 1440px){
  .faq__list-title:hover .text_lead {
    color: var(--main-blue);
  }
}
@media (max-width: 1440px){
  .faq{
    gap: 3.2rem;
  }
  .faq__list-title .text_lead,
  .faq__list-content {
    max-width: 51.2rem;
  }
}
@media (max-width: 767px){
  .faq{
    gap: 1.6rem;
  }
  .faq__list-title .text_lead,
  .faq__list-content {
    max-width: 51.2rem;
  }
  .faq__list-item{
    padding: 1.6rem;
  }
  .faq__list-item:open {
    gap: 0.8rem;
  }
  .faq__list-plus {
    height: 1.6rem;
  }
  .faq__list-plus::after {
    height: 1.6rem;
  }
  .faq__list-plus::before {
    width: 1.6rem;
  }
}

/* How to buy */
.how-to {
  display: flex;
  flex-direction: column;
  gap: 6.4rem;
}
.how-to__list {
  display: flex;
  flex-direction: column;
}
.how-to__item {
  display: flex;
  flex-direction: column;
}
.how-to__item-head {
  display: grid;
  grid-template-columns: 1fr 7fr;
  gap: 1.6rem;
}
.how-to__item-order {
  text-align: center;
  color: var(--main-blue);
}
.how-to__item-dashed {
  border-right: 0.1rem dashed var(--main-blue);
  width: 50%;
}
.how-to__item-wrapper {
  display: grid;
  grid-template-columns: 1fr 7fr;
  gap: 1.6rem;
}
.how-to__item-body {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  padding-top: 0.8rem;
}
.how-to__item-body:has(.how-to__cards_rows) {
  gap: 3.2rem;
}
.how-to__cards--cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.4rem;
  padding-bottom: 4.8rem;
}
.how-to__cards_rows {
  padding-bottom: 4.8rem;
}
.how-to__cards_rows--last {
  padding-bottom: 0;
}
.how-to__card {
  display: flex;
  gap: 2.4rem;
}
.how-to__card .icon-tag::before {
  font-size: 0.8rem;
}
.how-to__cards--cols .how-to__card {
  flex-direction: column;
}
.how-to__card-icon-wrapper {
  width: 4.8rem;
  height: 4.8rem;
  flex: 0 0 4.8rem;
}
.how-to__card-icon {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.how-to .how-to__card-link{
  color: var(--main-blue);
}
@media (max-width: 1440px){
  .how-to{
    gap: 4.6rem;
  }
  .how-to__item-wrapper,
  .how-to__item-head{
    grid-template-columns: 1fr 11fr;
  }
  .how-to__card-icon-wrapper{
    height: 4rem;
    width: 4rem;
    flex: 0 0 4rem;
  }
  .how-to__cards--cols{
    gap: 2.4rem;
  }
  .how-to__card{
    gap: 1.6rem;
  }
}
@media (max-width: 767px){
  .how-to{
    gap: 2.4rem;
  }
  .how-to__item-wrapper, .how-to__item-head {
    grid-template-columns: 1fr 7fr;
    gap: 0.8rem;
  }
  .how-to__cards--cols{
    display: flex;
    flex-direction: column;
  }
  .how-to__item-body:has(.how-to__cards_rows),
  .how-to__item-body{
    gap: 2.4rem;
  }
  .how-to__card{
    gap: 0.8rem;
  }
  .how-to__cards--cols{
    padding-bottom: 3.2rem;
  }
  .how-to__cards_rows{
    padding-bottom: 3.2rem;
  }
  .how-to__card{
    flex-direction: column;
  }
}

/* Сертификаты */
.certificate{
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
.certificate__list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.certificate__item {
  background-color: var(--main-gray);
  border-radius: 0.8rem;
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 1.6rem;
}
.certificate__item-info {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  padding: 4.8rem;
}

.certificate__item-img {
  width: 100%;
}
.certificate__item-img-wrapper {
  padding: 4.8rem 4.8rem 0 0;
  display: flex;
  align-items: end;
  justify-content: flex-start;
}
.certificate .certificate__item-link {
  color: var(--main-blue);
  text-decoration: underline dotted;
}
@media (max-width: 1440px){
  .certificate__item{
    grid-template-columns: 7fr 5fr;
  }
  .certificate__item-info{
    padding: 3.2rem;
  }
  .certificate__item-img-wrapper{
    padding: 3.2rem 3.2rem 0 0;
  }
}
@media (max-width: 767px){
  .certificate__item{
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
  }
  .certificate__item-info{
    gap: 1.6rem;
    padding: 2.4rem 1.6rem 0;
  }
  .certificate__item-img-wrapper{
    padding: 0 1.6rem;
  }
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.popup.open {
  display: flex;
}
.popup__head{
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.popup__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light-gray);
  z-index: -10;
}
.popup__wrapper {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  position: relative;
  width: 55rem;
  padding: 4.8rem 4.2rem;
  background-color: var(--main-white);
  border-radius: 0.8rem;
}
.popup__close {
  position: absolute;
  top: 2.4rem;
  right: 2.4rem;
}
@media (max-width: 767px){
  .popup__wrapper{
    flex: 1 1 100%;
    height: 100%;
    border-radius: 0;
    padding: 4rem 1.6rem;
  }
}

/* Articles */
.articles {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}
.articles__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.articles__item {
  overflow: hidden;
  border-radius: 0.8rem;
  position: relative;
  height: 33.6rem;
  width: 100%;
  display: flex;
}
.articles__item-link {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}
.articles__item-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    align-self: center;
    left: 0;
}
.articles__item-name {
  background: linear-gradient(0,#22202150 , #22202100 50%);
  display: flex;
  align-items: flex-end;
  height: 50%;
  color: var(--main-white);
  z-index: 10;
  align-self: flex-end;
  padding: 2.4rem;
  width: 100%;
}
@media (max-width: 1440px) {
  .articles__item{
    height: 21.6rem;
  }
}
@media (max-width: 767px) {
  .articles__list{
    display: flex;
    flex-direction: column;
  }
  .articles__item{
    height: 17.7rem;
  }
}