:root {
  --index: calc(1vw + 1vh);
  --font-size: 16px;
  --line-height: 1.4;
  --item-width: 325px;
  --burger-color: black;
  --burger-color-active: white;
  --container-width: 1670px;
  --container-padding: 30px;
  --font-default: "XSAI", sans-serif;
  --transition: cubic-bezier(0.445, 0.050, 0.550, 0.950);
  --transition2: cubic-bezier(0.785, 0.135, 0.150, 0.860);
  --transition3: cubic-bezier(0.715, -0.235, 0.120, 1.300);
  --bg-body: white;
  --color-body: #353535;
  --color-black: #2D2D2D;
  --color-text: #353535;
  --dark-grey: #676767;
  --air-grey: #DADADA;
  --light-grey: #ABABAB;
  --tofu: #F7F3ED;
  --outline-grey: #757575;
  --cement: #e7e4dd;
  --red: #FF5656;
  --slider-arrow-color: #ffffff;
  --slider-arrow-border-color: #ffffff;
}
@media screen and (max-width: 480px) {
  :root {
    --item-width: 100%;
  }
}
@media screen and (max-width: 768px) {
  :root {
    --container-padding: 10px;
  }
}

/* Мобильная навигация */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid #e5e7eb;
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 15px 0;
  z-index: 9999;
  /* Добавляем плавный переход для анимации скрытия/показа */
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  /* box-shadow: 0 -10px 15px -3px rgba(0, 0, 0, 0.1), 0 -4px 6px -2px rgba(0, 0, 0, 0.05); */
}

/* Класс для скрытия панели навигации */
.mobile-nav--hidden {
  transform: translateY(100%);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  transition: all 0.3s ease;
  padding: 0 8px;
  min-width: 60px;
}

.mobile-nav-item.active {
  color: #000000;
}

.mobile-nav-item:not(.active) {
  color: #6b7280;
}

.mobile-nav-item:hover {
  color: #000000;
}

.mobile-nav-item svg {
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}

.mobile-nav-item:hover svg {
  transform: scale(1.1);
}

.mobile-nav-item span {
  margin-top: 2px;
}

.mobile-nav-spacer {
  display: none;
  height: 50px;
}

/* Показать мобильную навигацию на планшетах и телефонах */
@media screen and (max-width: 768px) {
  .mobile-nav {
    display: flex;
  }
  
  .mobile-nav .mobile-nav-spacer {
    display: block;
  }

  .mobile-nav--hidden .mobile-nav-spacer {
    display: none;
  }
}

/* Скрыть на десктопе */
@media screen and (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }
  
  .mobile-nav-spacer {
    display: none !important;
  }
}

/* responsive */
@font-face {
  font-family: "XSAI";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/XSAI-OCR-11-Regular.woff") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "XSAI-bold";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/XSAI-OCR-11-Bold.woff") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "XSAI-ExtraBold";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/XSAI-OCR-11-ExtraBold.woff") format("woff2");
  font-display: swap;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none !important;
}

/* Предотвращение горизонтальной прокрутки */
img, video, svg, canvas {
  max-width: 100%;
  height: auto;
}

/* Предотвращение переполнения основных контейнеров */
.container, 
.container-fluid,
.wrap,
section,
.main,
.header,
.footer {
  max-width: 100%;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  transition: 0.3s ease;
  text-decoration: none;
}
a:hover {
  opacity: 0.6;
}

input,
a {
  outline: none !important;
  color: var(--color-text);
}

button,
input,
textarea {
  font-family: var(--font-default);
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  display: none;
}

*::-webkit-input-placeholder {
  opacity: 1;
}

*:-moz-placeholder {
  opacity: 1;
}

*::-moz-placeholder {
  opacity: 1;
}

*:-ms-input-placeholder {
  opacity: 1;
}

input:focus {
  outline: none;
  box-shadow: none !important;
}

html {
  font-size: var(--font-size);
}

html,
body {
  scrollbar-gutter: stable;
  overflow-x: hidden;
  max-width: 100%;
}

input {
  outline: none;
}

body {
  background: var(--bg-body);
  font-size: var(--font-size);
  min-width: 320px;
  position: relative;
  line-height: var(--line-height);
  font-family: var(--font-default);
  font-weight: normal;
  font-style: normal;
  color: var(--color-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-top: 8px solid var(--color-blue-light);
  padding-top: 52px;
}
@media screen and (max-width: 992px) {
  body {
    border-top: 4px solid var(--color-blue-light);
    padding-top: 57px;
  }
}
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 992px) {
  body.no-scroll {
    padding-right: 0px;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
}

@media screen and (min-width: 480px) {
  .-md4-hidden {
    display: none !important;
  }
}

@media screen and (max-width: 480px) {
  .-md3-hidden {
    display: none !important;
  }
}

@media screen and (max-width: 1280px) {
  .-md1-hidden {
    display: none !important;
  }
}

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

.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  width: 100%;
  max-width: var(--container-width);
}

.container-fluid {
  padding-right: var(--container-padding);
  padding-left: var(--container-padding);
  margin-right: auto;
  margin-left: auto;
}

.lang-btn {
  cursor: pointer;
  display: none;
  font-size: 14px;
  font-family: "XSAI-Bold";
  line-height: 13px;
}
@media screen and (max-width: 768px) {
  .lang-btn {
    display: flex;
  }
}
.burger-btn i {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 1px;
  background: transparent;
  transition: all 0.2s ease-out;
}
.burger-btn i::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--burger-color);
  position: absolute;
  left: 0;
  transition: all 0.2s ease-out;
  top: -3px;
}
.burger-btn i::after {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--burger-color);
  position: absolute;
  left: 0;
  transition: all 0.2s ease-out;
  bottom: -3px;
}
.burger-btn.active i {
  background: transparent;
}
.burger-btn.active i::before {
  top: 0;
  transform: rotateZ(45deg);
}
.burger-btn.active i::after {
  bottom: 0;
  transform: rotateZ(-45deg);
}

.wrapper {
  min-height: 100vh;
  overflow: hidden;
}

.wrap {
  padding: 0 27px;
  max-width: 100%;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .wrap {
    padding: 0 20px;
  }
}

.offer {
  font-size: 32px;
  line-height: 116%;
  margin-bottom: 24px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0;
}
@media screen and (max-width: 480px) {
  .offer {
    margin-bottom: 16px;
    font-size: 27px;
  }
}

.desc {
  color: var(--dark-grey);
  font-size: 18px;
  line-height: 116%;
  text-align: center;
  max-width: 349px;
  margin: 0 auto 48px;
}
@media screen and (max-width: 480px) {
  .desc {
    font-size: 16px;
    margin-bottom: 40px;
  }
}

.input {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
  margin-bottom: 24px;
}
.input label {
  text-transform: uppercase;
  font-size: 18px;
  line-height: auto;
}
@media screen and (max-width: 480px) {
  .input label {
    font-size: 14px;
  }
}
.input label span {
  color: var(--red);
}
.input input {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px 0 0;
  border: none;
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0%;
  font-size: 20px;
  padding-top: 17px;
  font-family: "XSAI";
}
.input input::placeholder {
  text-transform: uppercase;
  color: var(--light-grey);
}

/* Стили для красных звездочек в placeholder */
/* .input input[placeholder*="*"]::placeholder {
  color: var(--red);
} */

.input input:focus {
  border-bottom: none;
  box-shadow: none;
}

input[type="number"]{
  -moz-appearance: textfield;
}

.input select {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px 0 0;
  border-radius: 6px;
  border: none;
  color: var(--light-grey);
  font-family: "XSAI";
  font-size: 18px;
  text-transform: uppercase;
}
.input select:focus {
  border-bottom: none;
  box-shadow: none;
}
.input select {
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none;
  /* background-image: url("../img/select-arrow.svg"); */
  background-image: none;
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) 50%;
  padding-right: 5px;
}
.input select option {
  font-family: "XSAI";
  font-size: 18px;
}
.input--password:last-child{
  margin-bottom: 49px;
}
.input--password-wrap {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 5px;
  border: none;
  color: var(--light-grey);
  padding-left: 0;
}
.input--password input {
  width: 100%;
  text-transform: none;
  border: none;
  height: 100%;
}
.input--password-btn {
  margin-top: 17px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: 0.3s ease;
}
.input--password-btn:hover {
  opacity: 0.6;
}
.input textarea {
  resize: none;
  height: 201px;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid var(--outline-grey);
  color: var(--light-grey);
}
@media screen and (max-width: 480px) {
  .input textarea {
    height: 166px;
  }
}

.btn {
  font-size: 18px;
  line-height: 15px;
  letter-spacing: 0.5px;
  color: white;
  background: var(--color-body);
  border: 1px solid var(--color-body);
  border-radius: 4px;
  padding: 16px;
  display: block;
  text-align: center;
  width: 100%;
  transition: 0.3s ease;
  cursor: pointer;
  border-radius: 34px;
  text-transform: uppercase;
}
@media screen and (max-width: 480px) {
  .btn {
    font-size: 16px;
  }
}
.btn:hover {
  background: transparent;
  color: var(--color-body);
  opacity: 1;
}
.btn--outline {
  background: transparent;
  color: var(--color-body);
}
.btn--outline:hover {
  opacity: 0.6;
  background: var(--color-body);
  color: white;
}

.text {
  color: var(--dark-grey);
  font-size: 18px;
  line-height: 116%;
}
.text a {
  text-decoration: underline dotted;
  -webkit-text-decoration: underline dotted;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  color: var(--dark-grey);
}
.text a:hover {
  text-decoration: none;
}

.sub {
  font-size: 24px;
  line-height: 116%;
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.content {
  padding: 81px 0 57px;
  min-height: 714px;
}
@media (max-width: 600px) {
  .content {
    min-height: 482px;
    padding: 50px 0;
  }
}
.content__body {
  padding: 0 15px;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}
.content__tabs-wrapper {
  margin-bottom: 40px;
  min-width: 369px;
}
@media (max-width: 600px) {
  .content__tabs-wrapper {
    overflow-x: scroll;
  }
}
.content__tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--air-grey);
  padding-bottom: 24px;
  margin-top: 16px;
  justify-content: space-between;
  display: flex;
}
@media (max-width: 600px) {
  .content__tabs {
    padding: 0px 22px 16px;
  }
}
.content__tab {
  cursor: pointer;
  font-size: 18px;
  line-height: 116%;
  color: var(--light-grey);
  transition: 0.3s ease;
}
@media (max-width: 600px) {
  .content__tab {
    font-size: 15px;
  }
}
.content__tab.active, .content__tab:hover {
  color: var(--color-body);
  opacity: 1;
}
.cart {
  max-width: 461px;
  margin: 0 auto;
  padding: 41px 15px 111px;
  min-height: 713px;
}
@media (max-width: 600px) {
  .cart {
    min-height: 423px;
    padding: 32px 15px 0;
  }
}
.cart__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 32px;
       column-gap: 32px;
  border-bottom: 1px solid var(--air-grey);
  padding-bottom: 24px;
  margin-bottom: 40px;
}
@media (max-width: 600px) {
  .cart__tabs {
    margin-bottom: 32px;
    padding-bottom: 16px;
    -moz-column-gap: 16px;
         column-gap: 16px;
  }
}
.cart__tab {
  cursor: pointer;
  font-size: 18px;
  line-height: 116%;
  color: var(--light-grey);
  transition: 0.3s ease;
}
.cart__tab.active, .cart__tab:hover {
  color: var(--color-body);
  opacity: 1;
}

.header {
  font-size: 16px;
  line-height: 116%;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  width: 100%;
  z-index: 1100;
  background: white;
  position: fixed;
  top: 0;
  left: 0;
}
.header__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 16px 27px 16px;
  border-bottom: 1px solid var(--air-grey);
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .header__body {
    padding: 15px 20px;
  }
}
.header__burger-btn {
  cursor: pointer;
  display: none;
  height: 15px;
  width: 19px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../img/menu.svg");
  transition: 0.3s ease;
}
.header__burger-btn.active {
  background-image: url("../img/close.svg");
  width: 12px;
}
@media screen and (max-width: 768px) {
  .header__burger-btn {
    display: flex;
    align-items: center;
  }
}
.header__nav {
  display: flex;
  align-items: center;
  -moz-column-gap: 40px;
       column-gap: 40px;
}
@media screen and (max-width: 768px) {
  .header__nav {
    display: none;
  }
}

.header__nav  li{
  font-weight: normal;
}
.header__logo {
  width: 109px;
  position: absolute;
  display: flex;
  align-items: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
}
.header__logo img {
  width: 69px;
}

@media screen and (max-width: 768px) {
  .header__logo img{
    width: 69px;
  }
}
.header__right {
  display: flex;
  align-items: center;
  -moz-column-gap: 19px;
       column-gap: 19px;
  height: 19px;
}

@media screen and (max-width: 700px) {
  .header__right {
    column-gap: 0px;
  }
}

.header__currency {
  font-family: 'XSAI';
  font-size: 17px;
  line-height: 13px;
  letter-spacing: 1px;
  color: #000;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  height: 24px;
}

@media screen and (max-width: 700px) {
  .header__currency {
    display: none;
  }
}

.header__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 24px;
  height: 24px;
  transition: 0.3s ease;
}

.header__search-btn img {
  width: 19px;
  height: 19px;
}

.header__profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 24px;
  height: 24px;
}

.header__profile-btn img {
  width: 18px;
  height: 18px;
}
.header__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .header__right .header__cart {
    display: none;
  }
}

.header__cart img {
  width: 19px;
  height: 19px;
}

.header__cart .absolute {
  position: absolute;
  top: 13px;
  right: -5px;
  background-color: var(--color-black);
  color: white;
  font-size: 11px;
  border-radius: 50%;
  height: 17px;
  width: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header__search {
  border-bottom: 1px solid var(--air-grey);
  display: none;
  align-items: center;
  text-transform: uppercase;
  position: absolute;
  width: 100%;
  z-index: 9998;
  background: white;
}

.header__search.active {
  display: flex;
}
.header__search--mob {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 57px; /* Высота как у хедера */
  background: white;
  display: none;
  z-index: 9999;
}

.header__search--mob.active {
  display: flex;
}

.header__search--mob .header__search {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 20px;
}

.header__search--mob button[type="back"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__search--mob button[type="back"]:hover {
  opacity: 0.6;
}

.header__search--mob button[type="back"] svg {
  width: 10px;
  height: 16px;
}

.header__search--mob input[type="search"] {
  flex: 1;
  font-size: 14px;
  line-height: 14px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-default);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text);
}

.header__search--mob input[type="search"]:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.header__search--mob input[type="search"]::-moz-placeholder {
  color: var(--light-grey);
  text-transform: uppercase;
}

.header__search--mob input[type="search"]::placeholder {
  color: var(--light-grey);
  text-transform: uppercase;
}
.header__search button {
  display: flex;
  align-items: center;
  border: none;
  background: none;
  cursor: pointer;
  transition: 0.3s ease;
}
.header__search button:hover {
  opacity: 0.6;
}
.header__search input {
  font-size: 17px;
  line-height: 15px;
  width: 100%;
  background: white !important;
  padding: 15px 0 15px 17px;
  border: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;

}
.header__search input::-moz-placeholder {
  color: var(--light-grey);
}
.header__search input::placeholder {
  color: var(--light-grey);
}
@media screen and (max-width: 768px) {
  .header__search input {
    font-size: 14px;
    padding: 14.5px 0 14.5px 17px;
  }
}
.header__search-btn:hover {
  opacity: 0.6;
}



.breadcrumbs {
  padding: 14.5px 27px;
  position: relative;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid var(--air-grey);
}
@media screen and (max-width: 768px) {
  .breadcrumbs {
    padding: 15px 20px;
  }
}
.breadcrumbs__items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 19px;
}
@media (max-width: 600px) {
  .breadcrumbs__items {
    font-size: 14px;
    line-height: 116%;
    gap: 8px;
  }
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  min-height: 100vh;
  height: 100%;
  text-transform: uppercase;
  display: none;
}
.overlay__bg {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.overlay__content {
  position: fixed;
  background: white;
  width: 33%;
  padding: 22px 24px 32px 27px;
  top: 107.58px;
  left: -50%;
  transition: 0.3s ease;
  min-width: 483px;
  height: 100vh;
  transform: translateZ(0);
}
.overlay__content--clear {
  top: 48.8px;
  height: calc(100% - 48.8px);
}
.overlay__content--crumbs {
  top: 97.58px;
}
.overlay__content.active {
  left: 0;
}
.overlay__cross {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}
.overlay__cross:hover {
  opacity: 0.6;
}
.overlay__wrapper {
  display: flex;
  flex-direction: column;
  height: 98%;
  position: absolute;
  top: 22px;
  justify-content: space-between;
  transform: translateZ(0); 
}
.overlay__menu-wrapper {
  height: auto;
  top: 70px;
  position: sticky;
}
@media (max-height: 650px) {
  .overlay__menu-wrapper {
    top: 0;
  }
}
.overlay__menu {
  display: flex;
  flex-direction: column;
  row-gap: 18px;
  font-size: 18px;
  line-height: 116%;
}
.overlay__settings-wrapper {
  bottom: 0px;
  position: sticky;
  height: auto;
  display: flex;
  flex-direction: column;
}
.overlay__settings-empty {
  height: 100%;
}
.overlay__settings {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  font-size: 15px;
  line-height: 116%;
  margin-bottom: 22px;
}

.burger {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1100;
  width: 100%;
  height: 100%;
  background: white;
  text-transform: uppercase;
}
.burger__wrapper {
  padding: 32px 16px;
}
.burger__menu {
  margin-bottom: 44px;
}
.burger__menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 18px;
  line-height: 116%;
  border-bottom: 1px solid var(--air-grey);
  cursor: pointer;
}
.burger__menu-item img {
  width: 6px;
  height: 10.8px;
}
.burger__nav {
  display: none;
}
.burger__nav ul {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  font-size: 18px;
  line-height: 116%;
}
.burger__nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--air-grey);
  font-size: 18px;
  line-height: 116%;
}
.burger__nav-back {
  width: 6px;
  height: 10.8px;
  display: flex;
  align-items: center;
}
.burger__nav-back img {
  max-width: 100%;
}
.burger__nav-scroll {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.burger__nav-scroll::-webkit-scrollbar {
  width: 4px;
}
.burger__nav-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.burger__nav-scroll::-webkit-scrollbar-thumb {
  background: var(--light-grey);
  border-radius: 2px;
}
.burger__nav-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--dark-grey);
}

/* Стили для ссылок в мобильном меню - полная ширина строки */
.burger__nav-scroll ul li a {
  display: block;
  width: 100%;
}

.burger__settings {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  font-size: 15px;
  line-height: 116%;
  position: absolute;
  bottom: 140px;
}

.main__slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

/* Оптимизация для предотвращения дергания и плавного перехода */
.main__slider .swiper-wrapper {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
  transition-timing-function: ease-in-out;
}

.main__slider .swiper-slide {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}
@media (max-width: 700px) {
  .main__slider {
    display: none;
  }
}
.main__slider--mob {
  display: none;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* Оптимизация для предотвращения дергания и плавного перехода - мобильная версия */
.main__slider--mob .swiper-wrapper {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
  transition-timing-function: ease-in-out;
}

.main__slider--mob .swiper-slide {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}
@media (max-width: 768px) {
  .main__slider--mob {
    display: block;
    height: 100%;
  }
}
.main-slider__btn {
  position: absolute;
  height: 43px;
  width: 43px;
  border: 1px solid var(--slider-arrow-border-color);
  background: transparent;
  border-radius: 50%;
  bottom: 53px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #353535;
}

.main-slider__btn--prev {
  right: 110px;
  left: auto;
}

.main-slider__btn--next {
  right: 60px;
  left: auto;
}

@media (max-width: 768px) {
  .main-slider__btn {
    height: 32px;
    width: 32px;
    border-radius: 4px;
    bottom: 20px;
  }
  
  .main-slider__btn--prev {
    right: 70px;
  }
  
  .main-slider__btn--next {
    right: 20px;
  }
}

.main__slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  height: calc(100vh - 100px);
  padding: 0 60px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media screen and (max-width: 992px) {
  .main__slide {
    padding: 0 60px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}
@media (max-width: 768px) {
  .main__slide {
    height: 100%;
    padding: 0 30px 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
  }
}
.main__slide::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.04);
}
@media (max-width: 768px) {
  .main__slide::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.02) 100%);
  }
}
.main__slide-wrapper {
  -moz-column-gap: 5px;
       column-gap: 5px;
}
@media (max-width: 768px) {
  .main__slide-wrapper {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-direction: column;
  }
}
.main__slide-img {
  position: absolute;
  z-index: 0;
  top: 0;
  height: 100%;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  max-height: 390px;
}
.main__slide-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.main__offer-container {
  display: inline-block;
  padding: 20px 30px;
  margin-bottom: 33px;
  position: relative;
  z-index: 1;
}
@media (max-width: 700px) {
  .main__offer-container {
    padding: 10px 15px;
    margin-bottom: 20px;
  }
}

.main__offer {
  /* max-width: 711.6px; */
  margin-bottom: 25px;
  /* font-size: 39px; */
  z-index: 1;
  position: relative;

  font-family: 'XSAI-ExtraBold';
  font-style: normal;
  font-weight: 800;
  font-size: 91.0219px;
  line-height: 82px;

  letter-spacing: -0.04em;
  text-transform: uppercase;

  color: #FFFFFF;
}
/* @media (max-width: 700px) {
  .main__offer {
    max-width: 100%;
    margin-bottom: 0;
    font-size: 20px;
    line-height: 24px;
  }
} */
@media (max-width: 900px) {
  .main__offer {
    font-size: 2.75rem;
    line-height: 40px;
    margin-bottom: 10px;
  }
}
.main__offer-additional {
  max-width: 587px;
  margin-bottom: 43.5px;
  z-index: 1;
  position: relative;

  font-family: 'XSAI';
  font-style: normal;
  font-weight: 400;
  font-size: 21.456px;
  line-height: 29px;

  letter-spacing: 0.04em;

  color: #FFFFFF;
}

@media (max-width: 900px) {
  .main__offer-additional {
    font-size: 1.1rem;
    line-height: 21px;
    margin-bottom: 21px;
  }
}
.main__btn {
  font-family: 'XSAI-Bold';
  background: #FFFFFF;
  border-radius: 36px;

  font-size: 19.2px;
  line-height: 15px;
  padding: 11px 20px;
  z-index: 1;
  position: relative;
}
@media (max-width: 700px) {
  .main__btn {
    font-size: 16px;
    padding: 11px 22px;
    white-space: nowrap;
  }
}
.main__btn:hover {
  background: #efebd8;
  opacity: 1;
}

.main__slider .swiper-pagination {
  position: absolute;
  bottom: 53px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}

.main__slider .swiper-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.main__slider .swiper-pagination .swiper-pagination-bullet-active {
  background: #FFFFFF;
  transform: scale(1.2);
}

@media (max-width: 700px) {
  .main__slider .swiper-pagination {
    display: none;
  }
}

/* Стили для пагинации мобильного слайдера */
.main__slider--mob .swiper-pagination {
  position: absolute;
  bottom: 45px;
  right: 30px;
  left: auto;
  transform: none;
  display: flex;
  justify-content: flex-start;
  gap: 6px;
  z-index: 10;
  width: auto;
}

.main__slider--mob .swiper-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.main__slider--mob .swiper-pagination .swiper-pagination-bullet-active {
  background: #FFFFFF;
  transform: scale(1.2);
}

@media (max-width: 480px) {
  .main__slider--mob .swiper-pagination {
    bottom: 45px !important;
    right: 35px !important;
    left: auto !important;
    width: fit-content !important;
  }
}

.main-grid {
  padding: 0;
  margin-top: 0px;
}

@media (max-width: 768px) {
  .main-grid {
    margin-top: -107px;
  }
}

.main-grid__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  /* Убираем фиксированную высоту, пусть адаптируется к содержимому */
}

@media (max-width: 768px) {
  .main-grid__container {
    grid-template-columns: 1fr;
    gap: 0;
    /* Убираем фиксированную высоту для мобильных */
  }
}

.main-grid__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* Делаем элементы квадратными */
}

.main-grid__slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  height: 100%; /* Используем 100% для адаптации к aspect-ratio родителя */
  padding: 0 60px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .main-grid__slide {
    height: 100%; /* Адаптируется к aspect-ratio родителя */
    padding: 0 30px 30px 30px;
  }
}

.main-grid__slide::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.04);
}

.main-grid__slide-wrapper {
  position: relative;
  z-index: 2;
}

.main-grid h2 {
  max-width: 600px;
  margin-bottom: 40px;
  z-index: 1;
  position: relative;

  font-family: 'XSAI-ExtraBold';
  font-size: 30px;
  line-height: 35px;

  letter-spacing: -1px;
  text-transform: uppercase;

  color: #FFFFFF;
}

@media (max-width: 900px) {
  .main-grid h2 {
    font-size: 1.75rem;
    line-height: 28px;
    margin-bottom: 24px;
  }
}

.main-grid h6 {
  max-width: 900px;
  margin-bottom: 10px;
  font-size: 16px;
  z-index: 1;
  position: relative;
  color: white;
  font-family: 'XSAI';
  letter-spacing: 0;
  font-size: 20px;
  line-height: 29px;
}

@media (max-width: 900px) {
  .main-grid h6 {
    font-size: 0.9rem;
    line-height: 24px;
    margin-bottom: 0;
  }
}

.shop-look {
  padding: 0px 50px;
  margin-top: 67px;
}

@media (max-width: 768px) {
  .shop-look {
    padding: 0px 30px;
    margin-top: 3rem;
  }
}

.shop-look__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .shop-look__header {
    margin-bottom: 40px;
  }
}

.shop-look__title {
  font-family: 'XSAI-Bold';
  font-size: 26px;
  line-height: 30px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
}

@media (max-width: 768px) {
  .shop-look__title {
    font-size: 16px;
    line-height: 24px;
  }
}

.shop-look__view-all {
  font-family: 'XSAI';
  font-size: 16px;
  line-height: 18px;
  text-decoration: underline dotted;
  -webkit-text-decoration: underline dotted;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-transform: uppercase;
  color: #000000;
  transition: opacity 0.3s ease;
  letter-spacing: 0;
}

.shop-look__view-all:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .shop-look__view-all {
    font-size: 14px;
    line-height: 16px;
  }
}

/* Старые стили grid оставляем для совместимости, если понадобятся */
.shop-look__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .shop-look__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Новые стили для слайдера */
.shop-look__slider {
  position: relative;
  width: 100%;
  overflow: visible;
}

.shop-look__slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.shop-look__slider .swiper-slide {
  /* Убираем статичную ширину - пусть Swiper сам управляет */
  flex-shrink: 0;
  height: auto;
}

.shop-look__slider .swiper-pagination {
  position: static;
  text-align: center;
  margin-top: 30px;
}

.shop-look__slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #DADADA;
  border-radius: 50%;
  margin: 0 4px;
  opacity: 1;
  transition: background-color 0.3s ease;
}

.shop-look__slider .swiper-pagination-bullet-active {
  background-color: #353535;
}

/* Мобильные стили для слайдера */
@media (max-width: 768px) {
  .shop-look__slider .swiper-pagination {
    margin-top: 40px;
  }
}

.shop-look__item {
  position: relative;
}

.shop-look__image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--air-grey); /* air gray - серый фон по умолчанию */
  position: relative;
  display: block;
  transition: background-color 0.3s ease;
}

/* Черный фон после загрузки изображения */
.shop-look__image.image-loaded {
  background-color: var(--color-black);
}

.shop-look__image:hover {
  opacity: 1;
}

.shop-look__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

/* Стили для мобильных и десктопных изображений в trending */
.shop-look__image--mobile {
  display: none;
}

.shop-look__image--desktop {
  display: block;
}

@media screen and (max-width: 768px) {
  .shop-look__image--mobile {
    display: block;
  }
  
  .shop-look__image--desktop {
    display: none;
  }
}

.shop-look__btn {
  position: absolute;
  bottom: 35px;
  left: 40px;
  font-family: 'XSAI';
  font-size: 19.5px;
  line-height: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: black;
  text-decoration: none;
  transition: opacity 0.3s ease;
  z-index: 2;
  background-color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 20px;

}

@media (max-width: 700px) {
  .shop-look__btn {
    font-size: 11px;
    line-height: 17.5px;
  }
}

.shop-look__btn:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .shop-look__btn {
    bottom: 23px;
    left: 27px;
    font-size: 11px;
    line-height: 17.5px;
    padding: 4px 12px;
  }
}

.shop-look__btn--alt {
  position: absolute;
  bottom: 35px;
  left: 40px;
  font-family: 'XSAI-Bold';
  font-size: 19.5px;
  line-height: 16px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000000;
  
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 2;
}


@media (max-width: 768px) {
  .shop-look__btn--alt {
    bottom: 15px;
    left: 15px;
    font-size: 12px;
    line-height: 14px;
    padding: 8px 16px;
    border-radius: 16px;
  }
}

.classics-slider {
  padding: 0px 50px;
  background-color: #FFFFFF;
  margin-top: 67px;
}

@media (max-width: 768px) {
  .classics-slider {
    padding: 0px 30px;
    margin-top: 47px;
  }
}

.classics-slider__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .classics-slider__header {
    margin-bottom: 40px;
  }
}

.classics-slider__title {
  font-family: 'XSAI-Bold';
  font-size: 26.4px;
  line-height: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
}

@media (max-width: 768px) {
  .classics-slider__title {
    font-size: 16px;
    line-height: 24px;
  }
}

.classics-slider__nav {
  display: flex;
  gap: 15px;
}

.classics-slider__btn-prev,
.classics-slider__btn-next {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  color: #000000;
}

.classics-slider__btn-prev:hover,
.classics-slider__btn-next:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .classics-slider__btn-prev,
  .classics-slider__btn-next {
    width: 35px;
    height: 35px;
  }
}

.classics-slider__swiper {
  overflow: visible;
}

.classics-slider__swiper .swiper-wrapper {
  display: flex;
}

.classics-slider__swiper .swiper-slide {
  height: auto;
}

.classics-slider__item {
  width: 100%;
  padding: 0 5px;
}

.classics-slider__image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: #f5f5f5;
  margin-bottom: 20px;
}

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


.classics-slider__name {
  font-family: 'XSAI';
  font-size: 16px;
  line-height: 18px;
  text-transform: uppercase;
  color: #000000;
  margin: 0 0 10px 0;
  letter-spacing: 0;
}

.classics-slider__desc {
  font-family: 'XSAI';
  font-size: 12px;
  line-height: 14px;
  color: #666666;
  margin: 0 0 10px 0;
  letter-spacing: 0;
}

.classics-slider__price {
  font-family: 'XSAI';
  font-size: 15px;
  line-height: 16px;
  color: #000000;
  margin: 0 0 10px 0;
  letter-spacing: 0px;
}

.classics-slider__colors {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}

.classics-slider__color {
  width: 18px;
  height: 18px;
  border-radius: 12px;
  /* clip-path: polygon(0 0, 100% 0, 100% 65%, 75% 100%, 0 100%); */
  cursor: pointer;
  /* transition: transform 0.2s ease; */
}

.classics-slider__color:hover {
  transform: scale(1.2);
}

.classics-slider__colors-count {
  font-family: 'XSAI';
  font-size: 12px;
  line-height: 13px;
  color: #999999;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: underline dotted;
  -webkit-text-decoration: underline dotted;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  cursor: pointer;
  padding: 0px 0px 20px;
}

/* Скрытые цвета по умолчанию */
.classics-slider__colors--hidden {
  display: none;
}

/* Показ цветов при ховере на десктопе */
@media (min-width: 769px) {
  .classics-slider__item--hover-colors:hover .classics-slider__colors--hidden {
    display: flex;
  }
  
  .classics-slider__item--hover-colors:hover .classics-slider__colors-count {
    display: none;
  }
}

/* Для мобильных устройств - показ при активном состоянии */
@media (max-width: 768px) {
  .classics-slider__item--hover-colors.active .classics-slider__colors--hidden {
    display: flex;
  }
  
  .classics-slider__item--hover-colors.active .classics-slider__colors-count {
    display: none;
  }
}

.posters__body {
  display: flex;
}
.posters__item {
  width: 100%;
  height: 35svh;
  background-position: 30% top;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.filter__submit {
  text-transform: uppercase;
}
/* @media (min-width: 1500px) {
  .posters__item {
    height: 550px;
  }
}
@media (min-width: 1900px) {
  .posters__item {
    height: 650px;
  }
} */
@media screen and (max-width: 992px) {
  .posters__item {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .posters__item {
    height: 238px;
  }
}
/* @media screen and (max-width: 992px) {
  .posters__item:last-child {
    display: none;
  }
} */

.catalog {
  text-transform: uppercase;
  margin-bottom: 64px;
  padding: 0 30px;
}

@media screen and (max-width: 768px) {
  .catalog {
    padding: 0 21px;
  }
  .catalog__filter span {
    display: none;
  }
}
.catalog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0px;
  /* border-top: 1px solid var(--air-grey);
  border-bottom: 1px solid var(--air-grey); */
  flex-wrap: wrap;
  gap: 20px;
  text-transform: uppercase;
  font-family: 'XSAI-Bold';
  font-size: 23px;
  line-height: 19px;
}
.catalog__top-offer {
  line-height: 19px;
  font-size: 17px;
}
@media screen and (max-width: 480px) {
  .catalog__top-offer {
    font-size: 17px;
    line-height: 116%;
  }
}
.catalog__top-tabs {
  display: flex;
  align-items: center;
  -moz-column-gap: 8px;
       column-gap: 8px;
}
.catalog__top-tab {
  padding-right: 8px;
  border-right: 1px solid var(--light-grey);
  color: var(--light-grey);
  font-size: 14px;
  line-height: 115%;
  cursor: pointer;
  transition: 0.3s ease;
  text-transform: uppercase;
}
.catalog__top-tab:last-child {
  padding-right: 0;
  border: none;
}
.catalog__top-tab.active, .catalog__top-tab:hover {
  color: var(--color-body);
}
.catalog__top-info {
  /* display: flex; */
  display: none;
  align-items: center;
  gap: 32px;
  font-family: 'XSAI-Bold';
  font-size: 14px;
  line-height: 115%;
}
.catalog__top-info-item {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.catalog__top-info-item::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px dotted currentColor;
}
.catalog__top-info-label {
  /* color: var(--light-grey); */
  text-transform: uppercase;
}
/* .catalog__top-info-separator {
  color: var(--light-grey);
} */
.catalog__top-info-value {
  color: var(--color-body);
  text-transform: uppercase;
  font-weight: bold;
}
@media screen and (max-width: 992px) {
  .catalog__top-info {
    /* order: 3;
    width: 100%;
    justify-content: center;
    gap: 12px; */
    display: none;
  }
  .catalog__top-info-item {
    gap: 2px;
  }
}
@media screen and (max-width: 480px) {
  .catalog__top-info {
    font-size: 10px;
    gap: 8px;
  }
  .catalog__top-info-item {
    gap: 1px;
  }
}
.catalog__content {
  display: none;
  position: relative;
}
@media screen and (max-width: 992px) {
  .catalog__content {
    position: static;
  }
}
.catalog__content:first-child {
  display: block;
}

.catalog__top-tabs--left{
  display: flex;
  flex-direction: row;
  gap: 32px;
  font-size: 14px;
  line-height: 115%;
  font-family: 'XSAI-Bold';
}

.catalog__filter {
  bottom: 20px;
  left: 50%;
  display: flex;
  align-items: center;
  -moz-column-gap: 10px;
       column-gap: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  line-height: 115%;
  font-family: 'XSAI-Bold';
  font-size: 14px;
}
/* .catalog__filter:hover {
  opacity: 0.6;
} */
.catalog__items {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin: 0 -0.5px;
}
.catalog__item {
  background: white;
  flex: 0 0 calc(16.666% - 1px);
  padding: 0 13px 27px;
}
@media screen and (max-width: 992px) {
  .catalog__item {
    flex: 0 0 calc(25% - 1px);
    padding: 0 0 19px 19px;
  }
}
@media screen and (max-width: 480px) {
  .catalog__item {
    flex: 0 0 calc(50% - 1px);
    padding: 0 0 15px 15px;
  }
}
@media screen and (max-width: 992px) {
  .catalog__items--outfit {
    background: white;
  }
}
/* @media (max-width: 600px) {
  .catalog__items--outfit {
    background: var(--air-grey);
  }
} */
.catalog__items--outfit .catalog__item .catalog__item-img img {
  margin-top: 26px;
}
@media screen and (max-width: 992px) {
  .catalog__items--outfit .catalog__item {
    flex: 0 0 calc(25% - 1px);
  }
}
@media (max-width: 600px) {
  .catalog__items--outfit .catalog__item {
    flex: 0 0 calc(50% - 1px);
    border: none;
  }
}
@media screen and (max-width: 480px) {
  .catalog__items--outfit .catalog__item {
    flex: 0 0 calc(50% - 1px);
  }
  .catalog__items--outfit .catalog__item .catalog__item-offer {
    margin-right: 0;
  }
  .catalog__items--outfit .catalog__item .catalog__item-desc, .catalog__items--outfit .catalog__item .catalog__item-price {
    margin-right: 0;
  }
  .catalog__items--outfit .catalog__item .catalog__item-colors {
    justify-content: center;
    margin-right: 0;
  }
}
.catalog__item-top {
  display: block;
  position: relative;
  margin-bottom: 8px;
}
.catalog__item-top:hover {
  opacity: 1;
}
.catalog__item-img {
  display: block;
  width: 100%;
  height: 400px;
}
@media screen and (max-width: 992px) {
  .catalog__item-img {
    height: 300px;
  }
}
@media screen and (max-width: 480px) {
  .catalog__item-img {
    height: 250px;
  }
}
.catalog__item-images-container {
  position: relative;
  width: 100%;
  height: 400px;
}
@media screen and (max-width: 992px) {
  .catalog__item-images-container {
    height: 300px;
  }
}
@media screen and (max-width: 480px) {
  .catalog__item-images-container {
    height: 250px;
  }
}

.catalog__item-img--primary,
.catalog__item-img--secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease-in-out;
}

.catalog__item-img--primary {
  opacity: 1;
  z-index: 2;
}

.catalog__item-img--primary.catalog__item-img--hidden {
  opacity: 0;
}

.catalog__item-img--secondary {
  opacity: 0;
  z-index: 1;
}

.catalog__item-img--secondary.catalog__item-img--visible {
  opacity: 1;
}

/* Автоподгрузка товаров */
.catalog__load-more {
  text-align: center;
  padding: 40px 20px;
  margin-top: 30px;
}

.catalog__loader-spinner {
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  color: var(--dark-grey);
  margin: 0 auto 10px;
}


@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.catalog__item-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.catalog__item-label {
  position: absolute;
  top: 24px;
  right: 16px;
  padding: 2px 6px;
  font-size: 11px;
  line-height: 150%;
  background: var(--tofu);
  color: var(--color-body);
  border-radius: 4px;
  display: inline-block;
}
@media screen and (max-width: 992px) {
  .catalog__item-label {
    font-size: 11px;
    padding: 1.58px 4.74px;
    border-radius: 3.16px;
  }
}
.catalog__item-offer {
  font-size: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  line-height: 20px;
  -moz-column-gap: 10px;
       column-gap: 10px;
  margin-bottom: 9px;
  text-transform: uppercase;
}
@media screen and (max-width: 992px) {
  .catalog__item-offer {
    font-size: 17px;
    margin-bottom: 9px;
    line-height: 21.5px;
  }
}
@media screen and (max-width: 480px) {
  .catalog__item-offer {
    margin-bottom: 8px;
  }
}
.catalog__item-booking {
  cursor: pointer;
  display: none;
}
@media screen and (max-width: 480px) {
  .catalog__item-booking {
    display: inline-block;
    margin-top: 4px;
  }
}
.catalog__item-booking.active path:nth-child(2) {
  fill: var(--color-body);
}
.catalog__item-desc {
  font-size: 12px;
  line-height: 17px;
  color: var(--dark-grey);
  margin-bottom: 11px;
  letter-spacing: -0.89px;
}
@media screen and (max-width: 992px) {
  .catalog__item-desc {
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 19px;
    letter-spacing: -0.84px;
  }
}
@media screen and (max-width: 480px) {
  .catalog__item-desc {
    margin-bottom: 8px;
  }
}
.catalog__item-price {
  font-size: 15px;
  line-height: 16px;
  margin-bottom: 10px;
}
@media screen and (max-width: 992px) {
  .catalog__item-price {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 22px;
  }
}
@media screen and (max-width: 480px) {
  .catalog__item-price {
    margin-bottom: 10px;
    line-height: 22px;
  }
}
.catalog__item-colors {
  display: flex;
  align-items: center;
  -moz-column-gap: 1px;
       column-gap: 1px;
  margin-right: 14px;
}
.catalog__item-color {
  width: 26px;
  height: 26px;
  box-shadow: none;
  position: relative;
  cursor: pointer;
}
@media screen and (max-width: 992px) {
  .catalog__item-color {
    width: 20px;
    height: 20px;
  }
}
.catalog__item-color span {
  border: 2px solid white;
  border-radius: 30px;
}
@media (max-width: 600px) {
  .catalog__item-color span {
    border-radius: 30px;
  }
}
.catalog__item-color input {
  display: none;
}
.catalog__item-color span {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #B2A496;
}

.catalog__item-color--dust span {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #363636;
}
.catalog__item-color--khaki span {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #66685C;
}
.catalog__item-color--air-grey span {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: var(--air-grey);
}

.posters .main__offer {
  font-family: 'XSAI-Bold';
  font-size: 58px;
  line-height: 116%;
  letter-spacing: 1%;
  text-align: center;
}

@media screen and (max-width: 992px) {
  .posters .main__offer {
    font-size: 28px;
    font-family: 'XSAI';
  }
}

.filter {
  display: flex;
  position: fixed;
  justify-content: end;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  text-transform: uppercase;
  display: none;
}
.filter__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--color-body);
  opacity: 0.2;
  display: none;
}
@media (max-width: 700px) {
  .filter__bg {
    display: none !important;
  }
}
.filter__body {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 2;
  right: -50%;
  top: 0;
  background: white;
  width: 34%;
  min-width: 616px;
  height: 100svh;
  transition: 0.3s ease;
  overflow: hidden;
}
@media screen and (max-width: 1200px) {
  .filter__body {
    right: -100%;
  }
}
@media (max-width: 700px) {
  .filter__body {
    min-width: 0;
    width: 100%;
  }
}
.filter__body.active {
  right: 0;
}
.filter__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  margin-top: 52px;
}
.filter__content-wrapper {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}
.filter__top {
  padding: 33px 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--air-grey);
  flex-shrink: 0;
  position: relative;
}
@media (max-width: 700px) {
  .filter__top {
    padding: 16px 0 16px;
    margin: 0 16px;
  }
}
.filter__offer {
  font-size: 18px;
  line-height: 116%;
}
.filter__cross {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: 0.3s ease;
  position: absolute;
  right: 30px;
  top: 36px;
}

@media screen and (max-width: 768px) {
  .filter__cross {
    right: 20px;
    top: 20px;
  }
}
.filter__cross:hover {
  opacity: 0.6;
}
.filter__content {
  padding: 24px 46px;
  border-bottom: 1px solid var(--air-grey);
}
.filter__content:last-child {
  border-bottom: none;
}
.filter__content:nth-child(2), .filter__content:nth-child(3) {
  padding: 24px 46px;
}
@media (max-width: 700px) {
  .filter__content:nth-child(2), .filter__content:nth-child(3) {
    padding: 24px 0;
    margin: 0 15px;
  }
}
@media (max-width: 700px) {
  .filter__content {
    padding: 24px 0;
    margin: 0 15px;
  }
}
.filter__suboffer {
  text-align: center;
  line-height: 116%;
  margin-bottom: 24px;
  letter-spacing: 0.6px;
}
@media (max-width: 700px) {
  .filter__suboffer {
    margin-bottom: 16px;
  }
}
.filter__sort {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  -moz-column-gap: 16px;
       column-gap: 16px;
  row-gap: 16px;
}
.filter__sort .filter__item {
  grid-column: 4 span;
}
@media (max-width: 600px) {
  .filter__sort .filter__item {
    grid-column: 6 span;
  }
}
.filter__item {
  cursor: pointer;
  display: inline-block;
  flex: 1;
}
.filter__item input {
  display: none;
}
.filter__item span {
  font-size: 14px;
  line-height: 14px;
  padding: 7.5px 0 6px;
  border-radius: 4px;
  border: 1px solid var(--air-grey);
  display: inline-block;
  width: 100%;
  height: 100%;
  text-align: center;
  letter-spacing: 0.6px;
  transition: 0.1s ease;
  border-radius: 27px;
}
.filter__item input:checked + span {
  border-color: var(--color-body);
}
.filter__item.disabled {
  opacity: 0.5;
}
.filter__item.disabled span {
  color: #ccc;
  border-color: #e0e0e0;
  background-color: #f5f5f5;
}
.filter__colors {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  -moz-column-gap: 16px;
       column-gap: 16px;
  row-gap: 16px;
}
.filter__colors .filter__item {
  grid-column: 4 span;
}
@media (max-width: 600px) {
  .filter__colors .filter__item {
    grid-column: 6 span;
  }
}
.filter__color {
  grid-column: 4 span;
  cursor: pointer;
  display: inline-block;
  height: 32px;
}
@media (max-width: 600px) {
  .filter__color {
    grid-column: 6 span;
    height: 32px;
  }
}
.filter__color input {
  display: none;
}
.filter__color span {
  font-size: 14px;
  line-height: 14px;
  padding: 4px 4px;
  border-radius: 4px;
  border: 1px solid var(--air-grey);
  min-width: 74px;
  width: 100%;
  height: 100%;
  transition: 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 16px;
       column-gap: 16px;
  border-radius: 27px;
  position: relative;
}
.filter__color span i {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  position: absolute;
  left: 4px;
}
.filter__color input:checked + span {
  border-color: var(--color-body);
}
.filter__type {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  -moz-column-gap: 16px;
       column-gap: 16px;
  row-gap: 16px;
}
.filter__type .filter__item {
  grid-column: 4 span;
}
@media (max-width: 600px) {
  .filter__type .filter__item {
    grid-column: 6 span;
  }
}
.filter__collection {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  -moz-column-gap: 16px;
       column-gap: 16px;
  row-gap: 16px;
  padding: 0 87px;
}
@media (max-width: 600px) {
  .filter__collection {
    padding: 0;
  }
}
.filter__collection .filter__item {
  grid-column: 6 span;
}
.filter__size {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  -moz-column-gap: 16px;
       column-gap: 16px;
  row-gap: 16px;
  grid-template-columns: repeat(10, 1fr);
  padding: 0 20px;
}
@media (max-width: 600px) {
  .filter__size {
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
  }
}
.filter__size .filter__item {
  grid-column: 2 span;
}
@media (max-width: 600px) {
  .filter__size .filter__item {
    grid-column: 3 span;
  }
}
.filter__btns {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 39px 47px;
  flex-shrink: 0;
  border-top: 1px solid var(--air-grey);
  background: white;
  margin-bottom: 47px;
}
@media (max-width: 700px) {
  .filter__btns {
    padding: 24px 16px;
    margin: 0;
    border-top: 1px solid var(--air-grey);
    margin-bottom: 110px;
  }
}
.filter__btn {
  width: 50%;
  text-align: center;
  border-radius: 4px;
  border: 1px solid var(--color-body);
  background: var(--color-body);
  padding: 16px;
  font-size: 18px;
  color: white;
  line-height: 15px;
  letter-spacing: 0.8px;
  border-radius: 30px;
}
.filter__btn--outline {
  background: transparent;
  color: var(--color-body);
}
.filter__btn--outline:hover {
  background: var(--color-body);
  color: white;
}

.single__container {
  margin-left: 57px;
  margin-right: 173px;
  /* margin: 0 auto; */
  display: flex;
  justify-content: space-between;
  -moz-column-gap: 109px;
       column-gap: 109px;
  margin-bottom: 44px;
  position: relative;
}
@media screen and (max-width: 992px) {
  .single__container {
    flex-direction: column;
    row-gap: 64px;
    -moz-column-gap: 0;
         column-gap: 0;
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (max-width: 700px) {
  .single__container {
    padding-bottom: 34px;
    row-gap: 24px;
    margin-left: 16px;
    margin-right: 16px;
  }
}
@media (max-width: 480px) {
  .single__container {
    margin-left: 12px;
    margin-right: 12px;
    row-gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 0;
  }
}
.single__left {
  width: 50%;
  position: sticky;
  top: 0;
  align-self: flex-start;
  max-height: -moz-max-content;
  max-height: max-content;
  margin-top: 64px;
}
@media screen and (max-width: 992px) {
  .single__left {
    max-width: 100%;
    position: relative;
    width: 100%;
    margin-top: 0;
  }
}

@media screen and (max-width: 992px) {
  .single__sliders {
    margin-bottom: 0;
  }
}
@media (max-width: 700px) {
  .single__sliders {
    margin: 0;
  }
}
@media screen and (max-width: 480px) {
  .single__slider {
    /* height: 400px; */
    max-height: 72vh;
  }
}
.single__thumbs {
  height: auto;
  max-height: auto;
  overflow: hidden;
  min-width: 118px;
}
@media screen and (max-width: 1200px) {
  .single__thumbs {
    min-width: 90px;
  }
}
@media screen and (max-width: 992px) {
  .single__thumbs {
    min-width: 110px;
  }
}
@media (max-width: 576px) {
  .single__thumbs {
    display: none;
  }
}
.single__thumbs .swiper-slide-thumb-active .single__thumb {
  border-color: var(--outline-grey);
}
.single__thumb {
  height: 118px;
  /* min-width: 110px; */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border: 0.7px solid transparent;
  cursor: pointer;
  width: 100%;
  display: block;
}
@media screen and (max-width: 1200px) {
  .single__thumb {
    min-width: 80px;
    height: 80px;
  }
}
@media screen and (max-width: 992px) {
  .single__thumb {
    min-width: 110px;
    height: 110px;
  }
}
.single__slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  /* height: 90vh; */
  width: 95%;
  /* Bad fix for center img on page. */
  /* margin-top: -106px; */
}
@media (max-width: 541px) {
  .single__slider {
    width: 100%;
    height: 62vh;
  }
}
.single__slider .swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 8px;
       column-gap: 8px;
}
@media (min-width: 577px) {
  .single__slider .swiper-pagination {
    display: none;
  }
}
.single__slider .swiper-pagination-bullet {
  margin: 0 !important;
  width: 4px;
  height: 4px;
  background: var(--air-grey);
  opacity: 1;
}
.single__slider .swiper-pagination-bullet-active {
  background: #262626;
}
.single__slider .swiper-button-prev {
  height: 19.47px;
  width: 10.93px;
  background-image: url("../img/arrow-left.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  left: 29px;
  transition: 0.3s ease;
}
.single__slider .swiper-button-prev:hover {
  opacity: 0.6;
}
@media (min-width: 577px) {
  .single__slider .swiper-button-prev {
    display: none !important;
  }
}
.single__slider .swiper-button-prev::after {
  display: none;
}
.single__slider .swiper-button-next {
  height: 19.47px;
  width: 10.93px;
  background-image: url("../img/arrow-right.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  right: 29px;
  transition: 0.3s ease;
}
.single__slider .swiper-button-next:hover {
  opacity: 0.6;
}
@media (min-width: 577px) {
    .single__slider .swiper-button-next {
      display: none !important;
    }
}
.single__slider .swiper-button-next::after {
  display: none;
}
.single__slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 15px;
  width: 100%;
  /* min-height: 66svh; */
  min-width: 100px;
  height: 90vh;
}

/* Исправляем размеры swiper-slide для соответствия содержимому */
.single__slider .swiper-slide {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important; /* Устанавливаем opacity по умолчанию */
  transition: opacity 0.3s ease !important; /* Плавный переход */
}

/* Исправляем проблему с fade эффектом на мобильных устройствах */
.single__slider .swiper-slide:not(.swiper-slide-active) {
  opacity: 0 !important;
}

.single__slider .swiper-slide-active {
  opacity: 1 !important;
}

/* Стили для первого слайда только на десктопе */
@media (min-width: 769px) {
  .single__slider .swiper-wrapper .swiper-slide:first-child {
    margin-top: -67px !important;
    transform: translateY(-67px) !important;
  }

  /* Альтернативный селектор для первого слайда */
  .single__slider .swiper-wrapper .swiper-slide:first-of-type {
    /* margin-top: -67px !important; */
    transform: translateY(-67px) !important;
  }

  /* Еще один вариант - по индексу */
  .single__slider .swiper-wrapper .swiper-slide:nth-child(1) {
    margin-top: -67px !important;
    transform: translateY(-67px) !important;
  }

  /* Максимальная специфичность для первого слайда */
  .single__slider .swiper-wrapper .swiper-slide:first-child,
  .single__slider .swiper-wrapper .swiper-slide[data-swiper-slide-index="0"] {
    margin-top: -67px !important;
    transform: translateY(-67px) !important;
  }
}

/* Дополнительная защита для мобильных устройств */
@media (max-width: 768px) {
  .single__slider .swiper-slide {
    opacity: 1 !important;
  }
  
  .single__slider .swiper-slide:not(.swiper-slide-active) {
    opacity: 0 !important;
  }
  
  .single__slider .swiper-slide-active {
    opacity: 1 !important;
  }
  
  /* Дополнительная защита от проблем с инициализацией */
  .single__slider .swiper-wrapper {
    position: relative;
  }
  
  /* Сброс стилей для первого слайда на мобилке */
  .single__slider .swiper-slide:first-child {
    opacity: 1 !important;
    margin-top: 0 !important;
    transform: none !important;
  }
  
  /* Сброс для всех вариантов селекторов первого слайда */
  .single__slider .swiper-wrapper .swiper-slide:first-child,
  .single__slider .swiper-wrapper .swiper-slide:first-of-type,
  .single__slider .swiper-wrapper .swiper-slide:nth-child(1),
  .single__slider .swiper-wrapper .swiper-slide[data-swiper-slide-index="0"] {
    margin-top: 0 !important;
    transform: none !important;
  }
  
  /* Дополнительный сброс с максимальной специфичностью для мобилки */
  .single__slider .swiper-wrapper .swiper-slide:first-of-type {
    margin-top: 0 !important;
    transform: none !important;
  }
}

/* Исправление для очень маленьких экранов */
@media (max-width: 480px) {
  .single__slider .swiper-slide {
    opacity: 1 !important;
    transition: opacity 0.5s ease !important;
  }
  
  .single__slider .swiper-slide:not(.swiper-slide-active) {
    opacity: 0 !important;
  }
  
  .single__slider .swiper-slide-active {
    opacity: 1 !important;
  }
  
  /* Дополнительный сброс стилей для первого слайда на очень маленьких экранах */
  .single__slider .swiper-slide:first-child,
  .single__slider .swiper-wrapper .swiper-slide:first-child,
  .single__slider .swiper-wrapper .swiper-slide:first-of-type,
  .single__slider .swiper-wrapper .swiper-slide:nth-child(1),
  .single__slider .swiper-wrapper .swiper-slide[data-swiper-slide-index="0"] {
    margin-top: 0 !important;
    transform: none !important;
  }
  
  /* Еще один дополнительный сброс для :first-of-type на очень маленьких экранах */
  .single__slider .swiper-wrapper .swiper-slide:first-of-type {
    margin-top: 0 !important;
    transform: none !important;
  }
}

.single__thumbs .swiper-slide {
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin-bottom: 42px !important;
}
.single__content {
  margin-top: 64px;
  max-width: 646px;
  margin-right: 115px;
}
@media (max-width: 1400px) {
  .single__content {
    margin-right: 50px;
  }
}
@media screen and (max-width: 992px) {
  .single__content {
    max-width: 100%;
    margin: 0 20px;
  }
}
@media (max-width: 700px) {
  .single__content {
    margin: 0 16px;
  }
}
@media (max-width: 480px) {
  .single__content {
    margin: 0 12px;
  }
}
.single__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .single__top {
    margin-bottom: 20px;
  }
}
@media (max-width: 600px) {
  .single__top {
    flex-direction: column;
    text-align: center;
    margin-bottom: 32px;
  }
}
@media (max-width: 600px) {
  .single__top-left {
    margin-bottom: 24px;
  }
}
@media (max-width: 480px) {
  .single__top-left {
    margin-bottom: 8px;
  }
}
.single__offer {
  font-family: 'XSAI-Bold';
  margin: 0;
  font-size: 26px;
  line-height: 116%;
}
@media (max-width: 600px) {
  .single__offer {
    font-size: 20px;
    margin-bottom: 10px;
  }
}
.single__suboffer {
  margin: 0;
  font-size: 18px;
  line-height: 116%;
  color: var(--dark-grey);
}
@media (max-width: 600px) {
  .single__suboffer {
    font-size: 12px;
  }
}
.single__top-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 4px;
  text-align: right;
}
@media (max-width: 600px) {
  .single__top-right {
    justify-content: center;
    align-items: center;
  }
}
.single__price {
  font-family: 'XSAI-Bold';
  font-size: 22px;
  line-height: 116%;
}
@media (max-width: 600px) {
  .single__price {
    margin-bottom: 10px;
  }
}
.single__priceplan {
  font-family: 'XSAI';
  font-size: 14px;
  letter-spacing: -2%;
  line-height: 24px;
  display: flex;
  align-items: center;
  -moz-column-gap: 2px;
       column-gap: 2px;
}
@media (max-width: 600px) {
  .single__priceplan {
    font-size: 12px;
  }
}
.single__el {
  margin-bottom: 28px;
}
@media (max-width: 700px) {
  .single__el {
    margin-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .single__el {
    margin-bottom: 16px;
  }
}
.single__el .catalog__item-color {
  width: 32px;
  height: 32px;
}
@media (max-width: 600px) {
  .single__el {
    text-align: center;
    flex-direction: column-reverse;
    display: flex;
  }
  .single__el .catalog__item-colors {
    justify-content: center;
    margin-right: 0;
    margin-bottom: 10px;
  }
}
.single__el-offer {
  font-size: 18px;
  margin-bottom: 16px;
  line-height: 116%;
  color: var(--dark-grey);
  text-transform: uppercase;
}
.single__el-offer button {
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .single__el-offer {
    font-size: 12px;
   margin-bottom: 0;
  }
}
.single__el-items {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .single__el-items {
    justify-content: center;
    margin-bottom: 10px;
  }
}
.single__el-items .filter__item {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.single__el-items .filter__item span {
  font-size: 18px;
  line-height: 15px;
  letter-spacing: -0.5px;
}
@media (max-width: 600px) {
  .single__el-items .filter__item span {
    font-size: 14px;
    letter-spacing: -0.8px;
  }
}
.single__desc {
  font-family: 'XSAI';
  letter-spacing: -0.13rem;
  font-size: 17px;
  line-height: 116%;
  margin-bottom: 33px;
}
@media (max-width: 700px) {
  .single__desc {
    margin-bottom: 24px;
  }
}
@media (max-width: 600px) {
  .single__desc {
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 30px;
  }
}
@media (max-width: 480px) {
  .single__desc {
    margin-bottom: 20px;
  }
}
.single__btn {
  text-align: center;
  display: block;
  color: white;
  background: var(--color-body);
  border-radius: 30px;
  font-size: 18px;
  line-height: 15px;
  letter-spacing: 4%;
  padding: 16px;
  text-transform: uppercase;
  margin-bottom: 33px;
  border-radius: 30px;
  cursor: pointer;
}

.single__btn--mob {
  display: none;
}
@media (max-width: 600px) {
  .single__btn--mob {
    display: block;
  }
}
.single__sub {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 32px;
  font-size: 22px;
  line-height: 116%;
}
@media (max-width: 600px) {
  .single__sub {
    font-size: 18px;
  }
}

.single__add-content {
  display: flex;
}
.single__add-img {
  width: 35%;
  aspect-ratio: 3/4;
  margin-right: 18px;
}
@media (max-width: 600px) {
  .single__add-img {
    width: 33%;
    aspect-ratio: 3/4;
    margin-right: 8px;
  }
}
.single__add-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.single__add-wrapper {
  width: 100%;
}
.single__add-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  margin-bottom: 1px;
}
.single__add-offer {
  font-family: 'XSAI';
  font-size: 17px;
  line-height: 116%;
}
@media (max-width: 600px) {
  .single__add-offer {
    font-size: 15px;
  }
}
@media (max-width: 370px) {
  .single__add-offer {
    font-size: 13px;
  }
}
.single__add-price {
  color: var(--color-text);
  font-size: 14px;
  line-height: 172%;
}
@media (max-width: 600px) {
  .single__add-price {
    font-size: 14px;
  }
}
@media (max-width: 370px) {
  .single__add-price {
    font-size: 12px;
  }
}
.single__add-el {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.single__add-el:last-child {
  margin-bottom: 0;
}
.single__add-el-left{
  display: flex;
  gap: 4px;
  flex: 1;
}
.single__add-el-left .filter__item span {
  min-width: 42px;
  padding: 7.5px 0;
  font-size: 18px;
  line-height: 15px;
  letter-spacing: -0.5px;
}
@media (max-width: 600px) {
  .single__add-el-left .filter__item span {
    font-size: 13px;
    min-width: 42px;
    padding: 4px;
    letter-spacing: -0.8px;
  }
}
.single__add-el-text {
  line-height: 172%;
  letter-spacing: 1px;
  color: var(--air-grey);
}
@media (max-width: 600px) {
  .single__add-el-text {
    font-size: 13px;
  }
}
.single__add-btn {
  display: block;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 15px;
  letter-spacing: 4%;
  padding: 8px;
  border-radius: 30px;
  border: 1px solid #DADADA;
}
@media (max-width: 600px) {
  .single__add-btn {
    margin-top: 18px;
    margin-left: 87px;
  }
}
.single__add-btn--added {
  border-color: var(--color-body);
  display: none;
}
.single__acc-item {
  border-bottom: 1px solid var(--air-grey);
  padding-bottom: 16px;
  margin-bottom: 33px;
}
.single__acc-item:last-child {
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .single__acc-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .single__acc-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
}

.single__acc-item:last-child .single__acc-desc.active {
  border-bottom: none;
}



.single__acc-item:last-child:has(.single__acc-desc.active) {
  border-bottom: none;
}
.single__acc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 116%;
  cursor: pointer;
}
@media (max-width: 600px) {
  .single__acc-top {
    font-size: 18px;
  }
}
.single__acc-top img {
  transition: 0.3s ease;
}
.single__acc-top img.active {
  transform: rotate(180deg);
}

.single__acc-desc.active:not(.complete-the-look) {
  max-height: 500px;
  padding-top: 20px;
  opacity: 1;
  letter-spacing: -0.13rem;
}
.single__acc-desc ul {
  text-transform: uppercase;
}

.single__acc-desc {
  font-size: 18px;
  line-height: 116%;
  padding-top: 16px;
  color: var(--color-text);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  padding-top: 0;
  opacity: 0;
}
@media (max-width: 600px) {
  .single__acc-desc {
    font-size: 16px;
  }
}
.single__acc-desc ul {
  list-style: disc;
  padding-left: 25px;
}
.single__acc-desc ul li {
  color: var(--dark-grey);
}

section.more {
  margin: 0 55px;
  border-top: 1px solid var(--air-grey);
  padding: 0;
}


@media screen and (max-width: 992px) {
  .more--last {
    margin-bottom: 47px;
    border-bottom: 1px solid var(--air-grey);
  }
}
@media (max-width: 700px) {
  section.more {
    margin: 0 20px;
    border: none;
  }
  .more--last {
    margin-bottom: 0;
    border-bottom: 0;
  }
}
@media screen and (max-width: 480px) {
  .more .catalog__top {
    justify-content: center;
    text-align: center;
    padding-top: 40px;
    border: none;
  }
}
.more__items {
  overflow-x: hidden;
}
.more__items::-webkit-scrollbar {
  display: none;
}
.more__items-wrapper {
  min-height: 0 !important;
  display: flex;
  padding: 0;
}
@media screen and (max-width: 992px) {
  .more__items-wrapper {
    overflow-x: scroll;
  }
}
@media screen and (max-width: 480px) {
  .more__items-wrapper {
    padding: 0 12px;
  }
}
.more__items-wrapper .catalog__item {
  min-width: 487px;
  padding: 0 62px 24px 24px;
  border-right: 1px solid var(--air-grey);
}
.more__items-wrapper .catalog__item:last-child {
  border: none;
}
@media screen and (max-width: 992px) {
  .more__items-wrapper .catalog__item {
    min-width: 240px;
    padding: 0 3px 24px 24px;
    border: none;
  }
}
@media screen and (max-width: 480px) {
  .more__items-wrapper .catalog__item {
    min-width: 190px;
    border: none;
    padding: 0;
    padding-bottom: 21px;
  }
}

.registration {
  min-height: 600px;
  align-content: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: 140px;
}
@media screen and (max-width: 992px) {
  .registration {
    padding-bottom: 42px;
    min-height: 657px;
  }
}
@media screen and (max-width: 480px) {
  .registration {
    padding: 32px 0 56px;
    min-height: 558px;
    margin-top: 60px;
  }
}
@media (max-width: 700px) {
  .registration .offer {
    font-size: 35px;
  }
}
.registration__body {
  max-width: 369px;
  margin: 0 auto;
  padding: 0 19px;
}

.registration__body form{
  min-width: 340px;
}
.registration__body form .input {
  border-bottom: 1px solid var(--outline-grey);
}
@media screen and (max-width: 992px) {
  .registration__body {
    max-width: 900px;
  }
}
@media screen and (max-width: 480px) {
  .registration__body {
    max-width: 100%;
    width: 100%;
    margin-bottom: 48px;
  }
}
.registration__form {
  display: flex;
  flex-direction: column;
}
.registration .login__form {
  margin-top: 45px;
}
@media screen and (max-width: 992px) {
  .registration .login__form {
    margin-top: 115px;
    margin-bottom: 100px;
  }
}
.registration .login__bottom {
  margin-top: 24px;
}
.registration .login__bottom .btn{
  letter-spacing: 4%;
  line-height: 15px;
  font-size: 18px;
  text-transform: uppercase;
}

.registration .registration__bottom-text, .registration .registration__check, .desc{
  letter-spacing: -0.13rem;
  line-height: 15px;
  font-size: 18px;
}
.registration .desc{
  font-size: 20px;
}

@media screen and (max-width: 992px) {
  .registration .login__bottom {
    margin-top: 0;
  }
}
@media screen and (max-width: 480px) {
  .registration .login__bottom {
    margin-top: 0px;
  }
}
.registration .email__form {
  margin-top: 48px;
}
@media screen and (max-width: 480px) {
  .registration .email__form {
    margin-top: 24px;
  }
}
.registration .email__bottom {
  margin-top: 24px;
}
@media screen and (max-width: 480px) {
  .registration .email__bottom {
    margin-top: 0;
  }
}
.registration hr {
  display: none;
  border-top: 1px solid var(--air-grey);
}
@media screen and (max-width: 480px) {
  .registration hr {
    display: block;
  }
}
.registration hr.hr-dark {
  border-color: var(--color-body);
}
.registration__checks {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  margin-bottom: 48px;
}
.registration__check {
  display: flex;
  align-items: flex-start;
  position: relative;
  cursor: pointer;
}
@media screen and (max-width: 480px) {
  .registration__check {
    font-size: 14px;
  }
}
.registration__check input {
  display: none;
}
.registration__check span {
  line-height: normal;
  display: inline-block;
  padding-left: 32px;
}
.registration__check span::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--outline-grey);
  left: 0;
  top: 0;
}
.registration__check input:checked + span::before {
  background-color: var(--color-body);
  background-image: url("../img/checked.svg");
  background-size: 14px 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.registration__bottom {
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  row-gap: 14px;
}
@media screen and (max-width: 992px) {
  .registration__bottom {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .registration__bottom {
    width: 100%;
  }
}
.registration__bottom-text {
  line-height: 15px;
  letter-spacing: 2px;
  text-transform: none;
}
.registration__bottom-text:first-child {
  align-items: self-start;
  display: flex;
  margin-top: -7px;
  margin-bottom: 23px;
}

.service__content {
  text-align: center;
  max-width: 353px;
  margin: 0 auto;
}
@media screen and (max-width: 480px) {
  .service__content {
    margin-top: 62px;
    max-width: 100%;
  }
  .service__content--m0 {
    margin-top: 0;
  }
  .service__content--mb {
    margin-bottom: 32px;
  }
}
.service__content .text {
  margin-bottom: 24px;
}
.service__chat {
  margin: 88px 0;
}
@media screen and (max-width: 480px) {
  .service__chat {
    margin: 32px 0;
  }
}
.service__chat-available {
  font-size: 18px;
  line-height: 116%;
  margin-bottom: 24px;
  color: var(--dark-grey);
}
.service__chat-schedule-text {
  font-size: 18px;
  line-height: 116%;
  margin-bottom: 24px;
  color: var(--dark-grey);
}
.service__chat-schedule {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  line-height: 116%;
  margin-bottom: 24px;
}

.faq {
  padding: 51px 0 44px;
}
@media screen and (max-width: 992px) {
  .faq {
    padding-bottom: 61px;
  }
}
@media screen and (max-width: 480px) {
  .faq {
    padding: 32px 0 0;
  }
}
.faq__body {
  max-width: 518px;
  margin: 0 auto;
  padding: 0 15px;
}
.faq__body .input--faq {
  margin-top: 77px;
  margin-bottom: 48px;
}
@media screen and (max-width: 992px) {
  .faq__body .input--faq {
    margin-top: 40px;
    margin-bottom: 41px;
  }
}
@media screen and (max-width: 480px) {
  .faq__body .input--faq {
    margin-top: 77px;
    margin-bottom: 48px;
  }
}
.faq__body select {
  text-transform: uppercase;
}
.faq__items {
  display: flex;
  flex-direction: column;
}
.faq__item {
  border-bottom: 1px solid var(--air-grey);
}
@media screen and (max-width: 480px) {
  .faq__item:last-child {
    border: none;
  }
}
.faq__item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 116%;
  cursor: pointer;
  transition: 0.3s ease;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
.faq__item-top:hover {
  opacity: 0.6;
}
@media screen and (max-width: 480px) {
  .faq__item-top {
    padding: 16px 0;
  }
}
.faq__item-top span {
  max-width: 306px;
  display: inline-block;
}
.faq__item-top img {
  transition: transform 0.3s ease;
  cursor: pointer;
}
.faq__item-top img.active {
  transform: rotate(180deg);
}
.faq__item-text {
  padding-bottom: 16px;
  color: var(--dark-grey);
  line-height: 116%;
  display: none;
}

.faq__item-text.active {
  display: block;
}

.loyalty {
  display: flex;
  flex-direction: column;
  row-gap: 60px;
  max-width: 369px;
  margin: 0 auto;
  text-transform: uppercase;
}

@media screen and (max-width: 480px) {
  .loyalty {
    row-gap: 45px;
  }
}

.loyalty__level-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  line-height: 116%;
  margin-bottom: 15px;
}
.loyalty__level-top span:first-child {
  color: #363636;
}
.loyalty__level-top span:last-child {
  letter-spacing: 0.1px;
}
.loyalty__level-progress {
  border-radius: 100px;
  border: 1px solid #DADADA;
  height: 11px;
}
.loyalty__level-progress span {
  background: #DADADA;
  border-radius: 100px;
  display: block;
  height: 100%;
  width: 0;
}
.loyalty__balance {
  display: flex;
  flex-direction: column;
  row-gap: 35px;
  font-size: 20px;
  line-height: 116%;
}
@media screen and (max-width: 480px) {
  .loyalty__balance {
    font-size: 16px;
    row-gap: 24px;
  }
}
.loyalty__balance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.loyalty__balance-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--light-grey);
}

/* Стили для карты лояльности */
.loyalty__card {
  /* margin-bottom: 40px; */
  position: relative;
  text-align: center;
}

.loyalty__card svg {
  max-width: 100%;
  height: auto;
  border-radius: 17px;
}

.loyalty__brand svg{
  border-radius: 0px;
}

/* Оверлей с текстом и логотипом */
.loyalty__card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 25px 33px 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

/* Бренд */
.loyalty__brand {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: auto;
  width: 100%;
}

.loyalty__brand-name {
  font-family: 'XSAI-Bold';
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 20px;
}

/* Владелец */
.loyalty__owner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: auto;
  width: 100%;
}

.loyalty__owner-name, .loyalty__card-number, .loyalty__brand-level {
  font-family: 'XSAI-Bold';
  font-size: 16px;
  color: #2D2D2D;
  letter-spacing: 0px;
  text-transform: uppercase;
  max-width: 60%;
  line-height: 20px;
}

.loyalty__brand-level{
  letter-spacing: -0.1px;
}

/* Логотип */
.loyalty__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.loyalty__logo svg {
  box-shadow: none;
}

.loyalty__balans-item {
  color: var(--light-grey);
}
/* Адаптивность для карты */
@media screen and (max-width: 480px) {
  .loyalty__card {
    margin-bottom: 30px;
  }
  
  .loyalty__card svg {
    height: auto;
  }
  
  .loyalty__card-overlay {
    padding: 20px;
  }
  
  .loyalty__brand-name {
    font-size: 14px;
  }
  
  .loyalty__brand-level {
    font-size: 12px;
  }
  
  .loyalty__owner-name {
    font-size: 16px;
  }
  
  .loyalty__card-number {
    font-size: 14px;
  }
}

.orders {
  max-width: 493px;
  margin: 0 auto;
  text-transform: uppercase;
  padding-bottom: 100px;
}
@media (max-width: 600px) {
  .orders {
    padding-bottom: 0;
  }
}
.orders__count {
  font-size: 24px;
  line-height: 116%;
  color: var(--light-grey);
  margin-bottom: 64px;
}
@media (max-width: 600px) {
  .orders__count {
    margin-bottom: 32px;
    font-size: 15px;
  }
}
.orders__items {
  display: flex;
  flex-direction: column;
  row-gap: 64px;
}
@media (max-width: 600px) {
  .orders__items {
    row-gap: 51px;
  }
}
@media (max-width: 600px) {
  .orders__item {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--air-grey);
  }
}
.orders__item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 24px;
  margin-bottom: 8px;
}
@media (max-width: 600px) {
  .orders__item-top {
    font-size: 20px;
  }
}
.orders__item-date {
  color: var(--dark-grey);
  text-align: left;
  margin-bottom: 48px;
}
@media (max-width: 600px) {
  .orders__item-date {
    margin-bottom: 24px;
  }
}
.orders__els {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
.orders__el {
  display: flex;
  align-items: center;
  -moz-column-gap: 16px;
       column-gap: 16px;
  text-align: left;
  text-transform: uppercase;
}
.orders__el-img {
  max-width: 74px;
  min-width: 74px;
  max-height: 74px;
}
.orders__el-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.orders__el-content {
  width: 100%;
}
.orders__el-offer {
  margin: 0;
  margin-bottom: 4px;
}
.orders__el-offer a {
  font-size: 24px;
  line-height: 116%;
}
@media (max-width: 600px) {
  .orders__el-offer a {
    font-size: 16px;
  }
}
.orders__el-subs {
  color: var(--dark-grey);
  display: flex;
  flex-direction: column;
  row-gap: 4px;
  line-height: 150%;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .orders__el-subs {
    font-size: 13px;
  }
}
.orders__el-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
}
.orders__el-btn {
  padding: 8px;
  display: inline-block;
  width: -moz-max-content;
  width: max-content;
}
.orders__el-delete {
  color: var(--light-grey);
  letter-spacing: 2px;
}
@media (max-width: 600px) {
  .orders__el-delete {
    font-size: 14px;
    line-height: 15px;
  }
}
.orders__item-btn {
  padding: 8px;
  line-height: 116%;
}

.saved .orders__els {
  row-gap: 40px;
}
@media (max-width: 600px) {
  .saved .orders__els {
    row-gap: 32px;
  }
}
.saved .orders__el-sub {
  font-size: 13px;
  line-height: 150%;
}
@media (max-width: 600px) {
  .saved .orders__el {
    border-bottom: 1px solid var(--air-grey);
    padding-bottom: 33px;
  }
  .saved .orders__el:last-child {
    padding-bottom: 22px;
    border-bottom: 0;
  }
}

.order {
  max-width: 687px;
  margin: 0 auto;
  padding: 40px 15px 90px;
}
@media screen and (max-width: 992px) {
  .order {
    padding: 40px 15px 59px;
  }
}
@media (max-width: 600px) {
  .order {
    padding: 32px 15px 40px;
  }
}
.order__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--air-grey);
  margin-bottom: 64px;
}
@media (max-width: 600px) {
  .order__top {
    margin-bottom: 32px;
  }
}
.order__back {
  display: flex;
  align-items: center;
}
.order__offer {
  font-size: 24px;
  line-height: 116%;
  margin: 0;
}
.order__content {
  margin: 0 0 0 56px;
  display: flex;
  flex-direction: column;
  row-gap: 72px;
}
@media (max-width: 600px) {
  .order__content {
    margin: 0;
    row-gap: 32px;
  }
}
.order__content .orders__els {
  margin-bottom: 0;
}
.order__items-container {
  display: flex;
  flex-direction: column;
  row-gap: 72px;
}
@media (max-width: 600px) {
  .order__items-container {
    row-gap: 53px;
  }
}
.order__items {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}
.order__item {
  font-size: 16px;
  color: var(--dark-grey);
  line-height: 150%;
}
.order__item--offer {
  font-size: 18px;
}
@media (max-width: 600px) {
  .order__item {
    font-size: 12px;
  }
}
.order__item span {
  color: var(--color-body);
}
@media (max-width: 600px) {
  .order__item span {
    font-size: 14px;
  }
}

.cart__wrapper select {
  color: var(--color-body);
}
.cart__wrapper .single__add-item {
  margin-bottom: 40px;
}
@media screen and (max-width: 480px) {
  .cart__wrapper .single__add-item {
    margin-bottom: 20px;
  }
}
.cart__wrapper .single__add-content {
  align-items: center;
}
.cart__wrapper .single__add-img {
  width: 25%;
  aspect-ratio: 3/4;
  flex-shrink: 0;
}
.cart__wrapper .single__add-top {
  margin-bottom: 4px;
}
.cart__wrapper .orders__el-sub {
  font-size: 13px;
  line-height: 150%;
}
.cart .saved .orders__el-btn {
  font-size: 15px;
  line-height: 15px;
  letter-spacing: 1px;
  color: white;
  background: var(--color-body);
  border: 1px solid var(--color-body);
  border-radius: 4px;
  padding: 13px 13px 10px;
  text-align: center;
  transition: 0.3s ease;
  cursor: pointer;
}
.cart__count {
  display: flex;
  align-items: center;
}
.cart__count-icon {
  display: flex;
  align-items: center;
  transition: 0.3s ease;
  cursor: pointer;
}
.cart__count-icon:hover {
  opacity: 0.6;
}
.cart__count-num {
  min-width: 58px;
  text-align: center;
}
.cart__trash {
  display: flex;
  align-items: center;
  transition: 0.3s ease;
  cursor: pointer;
}
.cart__trash:hover {
  opacity: 0.6;
}
.cart .sub {
  text-align: left;
  margin-bottom: 8px;
}
.cart .sub--center {
  text-align: center;
}
@media screen and (max-width: 480px) {
  .cart .sub {
    font-size: 20px;
  }
}
.cart__desc {
  text-align: center;
  margin-bottom: 40px;
  font-size: 17px;
  line-height: 116%;
  color: var(--dark-grey);
  text-transform: uppercase;
}
@media screen and (max-width: 480px) {
  .cart__desc {
    font-size: 15px;
    margin-bottom: 32px;
  }
}
.cart__radio-wrap {
  margin-top: 40px;
}
@media screen and (max-width: 480px) {
  .cart__radio-wrap {
    margin-top: 32px;
  }
}
.cart__radio-wrap .sub {
  margin-bottom: 24px;
}
@media screen and (max-width: 480px) {
  .cart__radio-wrap .sub {
    margin-bottom: 16px;
    font-size: 20px;
  }
}
.cart__radios {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 116%;
  color: var(--dark-grey);
}
@media screen and (max-width: 480px) {
  .cart__radios {
    font-size: 14px;
    row-gap: 9.5px;
  }
}
.cart__radios label {
  position: relative;
  cursor: pointer;
}
.cart__radios label input {
  display: none;
}
.cart__radios label span {
  padding-left: 29px;
}
.cart__radios label span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-55%);
  border-radius: 100%;
  width: 8px;
  height: 8px;
  border: 3px solid white;
}
.cart__radios label input:checked + span::after {
  background: var(--color-body);
}
.cart__info {
  margin-top: 40px;
}
@media screen and (max-width: 480px) {
  .cart__info {
    margin-top: 32px;
  }
}
.cart__info .sub {
  margin-bottom: 24px;
}
@media screen and (max-width: 480px) {
  .cart__info .sub {
    margin-bottom: 16px;
  }
}
.cart__info .single__add-content {
  align-items: flex-start;
}
.cart__info .single__add-img-wrap {
  position: relative;
  margin-right: 18px;
}
.cart__info .single__add-img-wrap span {
  position: absolute;
  top: 0;
  right: 0;
  color: white;
  font-size: 8px;
  width: 13.93px;
  height: 13.93px;
  display: inline-block;
  padding: 3px 4px 4px 3px;
  border-radius: 100%;
  background: var(--color-body);
  display: flex;
  align-items: center;
  justify-content: center;
  top: -3.48px;
  right: -3.48px;
}
.cart__info .single__add-img {
  max-height: 97px;
  overflow: hidden;
  max-width: 97px;
  min-width: 97px;
  margin-right: 0;
}
.cart__items {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  margin-top: 40px;
}
@media screen and (max-width: 480px) {
  .cart__items {
    row-gap: 0;
    margin-bottom: 32px;
  }
}
.cart__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 150%;
  color: var(--dark-grey);
}
@media screen and (max-width: 480px) {
  .cart__item {
    font-size: 15px;
  }
}
.cart__item--total {
  margin-top: 8px;
  color: var(--color-body);
  font-size: 20px;
  line-height: 116%;
}
.cart .input--promocode label {
  font-size: 14px;
}
.cart .input--promocode .input-wrap {
  display: flex;
  -moz-column-gap: 8px;
       column-gap: 8px;
}
.cart .input--promocode .input-wrap input {
  width: 100%;
}
.cart .input--promocode .input-wrap .btn {
  width: auto;
  padding: 0 35px;
}
@media screen and (max-width: 480px) {
  .cart .input--promocode .input-wrap .btn {
    padding: 0 23px;
  }
}
.profile {
  max-width: 372px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  row-gap: 60px;
}
.profile__personal-inputs {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .profile__personal-inputs {
    margin-bottom: 16px;
  }
}
.profile__personal-input {
  display: flex;
  flex-direction: column;
  row-gap: 6px;
  text-transform: uppercase;
}
.profile__personal-input label {
  font-size: 18px;
  line-height: 116%;
  color: var(--light-grey);
}
@media (max-width: 600px) {
  .profile__personal-input label {
    font-size: 13px;
  }
}
.profile__personal-input {
  position: relative;
  align-items: center;
  justify-content: center;
  align-content: center;
}

.profile__personal-input input {
  text-align: center;
  font-size: 18px;
  line-height: 116%;
  border: none;
  outline: none;
  border-bottom: 1px solid transparent;
  transition: 0.1s ease;
  text-transform: uppercase;
  color: var(--color-black);
  background: transparent;
  position: relative;
  z-index: 2;
}

/* Кроссплатформенное подчеркивание точками только под текстом */
.profile__personal-input::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 0;
  background-image: radial-gradient(circle, var(--light-grey) 1px, transparent 1px);
  background-size: 4px 1px;
  background-repeat: repeat-x;
  background-position: 0 0;
  z-index: 1;
  transition: all 0.2s ease;
  opacity: 0;
}

/* Показываем подчеркивание только при наличии текста */
.profile__personal-input.has-content::after {
  width: var(--underline-width, 0);
  opacity: 1;
}

/* Дополнительная поддержка для браузеров с ограниченной поддержкой CSS-переменных */
@supports not (--css: variables) {
  .profile__personal-input::after {
    width: 0;
    opacity: 0;
  }
  .profile__personal-input.has-content::after {
    width: calc(100% - 20px);
    opacity: 1;
  }
}

/* Мобильная адаптация */
@media (max-width: 600px) {
  .profile__personal-input::after {
    background-size: 3px 1px;
  }
  
  .profile__personal-input.has-content::after {
    width: var(--underline-width, 0);
  }
}

/* Улучшенная поддержка для Safari и WebKit браузеров */
@supports (-webkit-appearance: none) {
  .profile__personal-input::after {
    -webkit-background-size: 4px 1px;
    background-size: 4px 1px;
  }
}

/* Поддержка для Firefox */
@-moz-document url-prefix() {
  .profile__personal-input::after {
    background-image: repeating-linear-gradient(
      to right,
      var(--light-grey) 0,
      var(--light-grey) 1px,
      transparent 1px,
      transparent 4px
    );
  }
}
.profile__personal-input input[type="email"] {
  text-transform: uppercase;
}
.profile__personal-input input:focus {
  border-bottom: none;
}

.profile__params .sub {
  margin-bottom: 48px;
}

.profile__params-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  margin-bottom: 72px;
}
@media (max-width: 600px) {
  .profile__params-items {
    margin-bottom: 16px;
    flex-direction: row;
    row-gap: 16px;
  }
}
.profile__params-item {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  font-size: 18px;
  line-height: 116%;
}
@media (max-width: 600px) {
  .profile__params-item {
    font-size: 13px;
  }
}
.profile__params-item span {
  color: var(--light-grey);
}
@media (max-width: 600px) {
  .profile__params-item div {
    font-size: 15px;
  }
}
.profile__params-item--rec {
  margin-bottom: 48px;
}
@media (max-width: 600px) {
  .profile__params-item--rec {
    margin-bottom: 16px;
  }
}
.profile__password input {
  display: block;
  border: none;
  margin: 0 auto;
  margin-bottom: 24px;
  padding: 0;
  width: 12ch;
  background: repeating-linear-gradient(90deg, var(--color-body) 0, var(--color-body) 1ch, transparent 0, transparent 1.5ch) 0 100%/11.5ch 1.5px no-repeat;
  opacity: 0.6;
  letter-spacing: 0.5ch;
  font-size: 18px;
  line-height: 116%;
}
.profile__password input:focus {
  outline: none;
}
.profile__desc {
  font-size: 18px;
  line-height: 116%;
  color: var(--dark-grey);
  max-width: 267px;
  margin: 0 auto;
  letter-spacing: -0.1rem;
}
@media (max-width: 600px) {
  .profile__desc {
    font-size: 15px;
  }
}
.profile__adress .profile__desc {
  margin-bottom: 24px;
  max-width: 177px;
  text-transform: uppercase;
}
.profile__support .profile__desc {
  margin-bottom: 24px;
}
.profile__free .profile__desc {
  color: var(--color-body);
}

.footer {
  padding: 0px 40px 0px;
  margin-top: 160px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 700px) {
  .footer {
    display: none;
  }
}

.footer-mob {
  display: none;
}

@media (max-width: 700px) {
  .footer-mob {
    display: block;
  }
}

/*-------------------------------------FOOTER OLD ----------------------------------------------*/
.footer-mob {
  text-transform: uppercase;
  margin-top: 160px;
}
.footer__items {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  -moz-column-gap: 0;
       column-gap: 0;
  row-gap: 0;
}
@media (max-width: 700px) {
  .footer__items {
    display: none;
  }
}
.footer__item {
  grid-column: 3 span;
  padding: 40px 27px;
  border: 1px solid var(--air-grey);
  border-left: 0;
  min-height: 257px;
}
@media screen and (max-width: 992px) {
  .footer__item {
    padding: 40px 24px;
  }
}
.footer__item:first-child {
  border-left: 1px solid var(--air-grey);
}
.footer__offer {
  margin-bottom: 17px;
  font-size: 18px;
  line-height: 116%;
}
@media screen and (max-width: 992px) {
  .footer__offer {
    font-size: 16px;
  }
}
.footer__item-els {
  display: flex;
  flex-direction: column;
  row-gap: 17px;
}
.footer__item-els a {
  text-decoration: underline;
}
.footer__item-els a:hover {
  text-decoration: none;
}
.footer__item-el {
  font-size: 16px;
  line-height: 15px;
}
@media screen and (max-width: 992px) {
  .footer__item-el {
    font-size: 14px;
    line-height: 20px;
  }
}
.footer__item-el--subscribe {
  letter-spacing: 1px;
}
.footer__nav {
  font-size: 16px;
  line-height: 15px;
  display: flex;
  flex-direction: column;
  row-gap: 17px;
}
.footer__item-settings {
  display: flex;
  flex-direction: column;
  row-gap: 17px;
  font-size: 16px;
  line-height: 15px;
}
.footer__copyright {
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 20px 0;
}
@media (max-width: 700px) {
  .footer__copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    padding-bottom: 40px;
  }
}
.footer__copyright img {
  display: none;
}
@media (max-width: 700px) {
  .footer__copyright img {
    display: inline-block;
    max-width: 15px;
  }
}
.footer__subscribe {
  display: none;
}
@media (max-width: 700px) {
  .footer__subscribe {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 36px 46px;
    border-bottom: 1px solid var(--air-grey);
    border-top: 1px solid var(--air-grey);
  }
}
.footer__subscribe-offer {
  margin-bottom: 24px;
  line-height: 116%;
}

.footer-mob .footer__subscribe-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--air-grey);
  width: 100%;
}
.footer-mob .footer__subscribe-form input {
  line-height: 15px;
  padding: 12px 16px;
  border: none;
  width: 100%;
  background: white !important;
}
.footer-mob .footer__subscribe-form button {
  background: none;
  display: flex;
  align-items: center;
  border: none;
}
.footer__menu {
  padding: 16px;
  display: none;
}
@media (max-width: 700px) {
  .footer__menu {
    display: flex;
    flex-direction: column;
  }
}
.footer__menu-item-top {
  cursor: pointer;
  padding: 16px 0;
  border-bottom: 1px solid var(--air-grey);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  line-height: 116%;
}
.footer__menu-item-top img {
  transition: 0.3s ease;
}
.footer__menu-item-top.active img {
  transform: rotate(180deg);
}
.footer__menu-item-bottom {
  display: flex;
  flex-direction: column;
  row-gap: 17px;
  padding: 20px;
  display: none;
}
@media screen and (max-width: 768px) {
  .footer__menu-item-bottom {
    padding-left: 0;
  }
}

/*-------------------------------------FOOTER OLD ----------------------------------------------*/

.footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  width: 100%;
  margin-bottom: 150px;
  align-items: stretch;
}

.footer__column {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 0 60px;
}

.footer__column--center {
  justify-content: space-between;
  gap: 20px;
}

.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  height: 100%;
  justify-content: flex-start;
}

.footer__nav li a {
  font-family: 'XSAI';
  font-size: 14px;
  line-height: 13px;
  color: #000;
  text-decoration: none;
  letter-spacing: 0;
  transition: opacity 0.3s ease;
}

.footer__nav li a:hover {
  opacity: 0.7;
}

.footer__title {
  font-family: 'XSAI-Bold';
  font-size: 24px;
  line-height: 19px;
  letter-spacing: 0;
  margin: 0;
  color: #000;
}

.footer__subtitle {
  font-family: 'XSAI';
  font-size: 14px;
  line-height: 13px;
  letter-spacing: -1px;
  margin: 0;
  text-transform: none;
  /* max-width: 300px; */
}

.footer__subscribe-form {
  display: flex;
  width: 100%;
  max-width: 350px;
  border: 1px solid #e0e0e0;
  margin: 0;
}

.footer__email-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid black;
  background: white;
  font-family: 'XSAI';
  font-size: 13px;
  letter-spacing: -1px;
  outline: none;
}

.footer__email-input:focus {
  border: 1px solid black;
  box-shadow: none;
}

.footer__email-input::placeholder {
  color: #999;
  text-transform: lowercase;
}

.footer__submit-btn {
  padding: 8px 19px;
  border: 1px solid black;
  border-left: none;
  background: white;
  color: black;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

/* .footer__submit-btn:hover {
  background: #333;
  color: white;
} */

.footer__terms {
  font-family: 'XSAI';
  font-size: 14px;
  line-height: 17px;
  letter-spacing: -1px;
  margin: 0;
  text-transform: none;
  /* max-width: 350px; */
}

.footer__terms a {
  color: #000;
  text-decoration: underline;
}

.footer__terms a:hover {
  text-decoration: none;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 20px;
  margin-bottom: 115px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #666;
  transition: color 0.3s ease;
}

.footer__social-link:hover {
  color: #000;
}

@media (max-width: 992px) {
  .footer {
    padding: 40px 20px 30px;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer__column {
    align-items: center;
  }
  
  .footer__nav {
    align-items: center;
  }
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0e0e0;
  /* margin-top: 20px; */
}

.footer__copyright {
  font-family: 'XSAI';
  font-size: 14px;
  line-height: 11px;
  letter-spacing: 0;
  color: #000;
  text-transform: uppercase;
}

.footer__currency {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'XSAI';
  font-size: 16px;
  line-height: 13px;
  letter-spacing: 0;
  color: #000;
  text-transform: uppercase;
}

.footer__flag {
  width: 20px;
  height: auto;
}

/* Десктопный футер - отображается только на больших экранах */
@media (min-width: 701px) {
  .footer--desktop {
    display: block;
  }
  
  .footer--mobile {
    display: none;
  }
}

/* Мобильный футер - отображается только на маленьких экранах */
@media (max-width: 700px) {
  .footer--desktop {
    display: none;
  }
  
  .footer--mobile {
    display: block;
    margin-bottom: 1px;
  }
  
  .footer--mobile .footer__content {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 60px;
  }
  
  .footer--mobile .footer__column {
    padding: 0;
  }
  
  .footer--mobile .footer__column--center {
    order: 1;
    padding: 0;
  }
  
  .footer--mobile .footer__column--left {
    order: 2;
    margin-top: 4.4rem;
    border-top: 1px solid #e0e0e0;
    align-items: unset;
    text-align: left;
  }
  
  .footer--mobile .footer__column--right {
    order: 3;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    align-items: unset;
    text-align: left;
  }

  .footer--mobile .footer__column--right .footer__dropdown-content, .footer--mobile .footer__column--left .footer__dropdown-content{
    text-align: center;
  }
  
  /* Показываем dropdown структуру только на мобильных */
  .footer--mobile .footer__dropdown {
    display: block;
  }
  
  .footer--mobile .footer__dropdown-header {
    font-family: 'XSAI-Bold';
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    letter-spacing: 0;
  }
  
  .footer--mobile .footer__dropdown-header span {
    order: 1;
    flex: 1;
  }
  
  .footer--mobile .footer__dropdown-icon {
    order: 2;
    flex-shrink: 0;
  }
  
  .footer--mobile .footer__dropdown-header:hover {
    opacity: 0.7;
  }
  
  .footer--mobile .footer__dropdown-icon {
    transition: transform 0.3s ease;
    color: #000;
  }
  
  .footer--mobile .footer__dropdown.active .footer__dropdown-icon {
    transform: rotate(-180deg);
  }
  
  .footer--mobile .footer__dropdown-content {
    display: none;
    padding: 20px 0;
    gap: 15px;
  }
  
  .footer--mobile .footer__dropdown.active .footer__dropdown-content {
    display: flex;
  }
  
  .footer--mobile .footer__dropdown-content li {
    margin: 0;
    padding: 0;
  }
  
  .footer--mobile .footer__dropdown-content li a {
    font-size: 14px;
    line-height: 13px;
    display: block;
    padding: 8px 0;
    margin: 0;
  }
  
  /* Обеспечиваем одинаковые отступы в обеих колонках */
  .footer--mobile .footer__column--left .footer__dropdown-content,
  .footer--mobile .footer__column--right .footer__dropdown-content {
    gap: 0;
  }
  
  .footer--mobile .footer__column--left .footer__dropdown-content li a,
  .footer--mobile .footer__column--right .footer__dropdown-content li a {
    padding: 8px 0;
    letter-spacing: 0;
  }
  
  .footer--mobile {
    padding: 0px 2rem;
    margin-top: 4rem;
  }
  
  .footer--mobile .footer__social {
    gap: 15px;
  }
  
  .footer--mobile .footer__social-link {
    width: 35px;
    height: 35px;
  }
  
  .footer--mobile .footer__bottom {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    /* Растягиваем бордюры на всю ширину экрана */
    margin-left: -2rem;
    margin-right: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .footer--mobile .footer__copyright {
    font-size: 10px;
    padding: 20px 0;
  }

  .footer--mobile .footer__social {
    padding: 0;
    margin-bottom: 60px;
  }
}

/* Стили для секции "больше в этом цвете" */
.more.classics-slider {
  margin-bottom: 64px;
  overflow: visible;
}

.more.classics-slider .classics-slider__header {
  padding: 40px 0;
  margin: 0;
}

.more.classics-slider .classics-slider__title {
  font-family: 'XSAI-Bold';
  font-size: 23px;
  line-height: 19px;
  text-transform: uppercase;
  margin: 0;
}

.more.classics-slider .classics-slider__nav {
  display: flex;
  gap: 10px;
}

.more.classics-slider .classics-slider__btn-prev,
.more.classics-slider .classics-slider__btn-next {
  width: 40px;
  height: 40px;
  border: 1px solid var(--air-grey);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 30px;
}

.more.classics-slider .classics-slider__btn-prev:hover,
.more.classics-slider .classics-slider__btn-next:hover {
  background: var(--air-grey);
  color: white;
}

.more.classics-slider .classics-slider__swiper {
  padding: 0;
  overflow: visible;
}

.more.classics-slider .swiper-slide {
  height: auto;
}

@media (max-width: 768px) {
  .more.classics-slider {
    /* padding: 0px 30px; */
  }
  
  .more.classics-slider .classics-slider__header {
    padding: 30px 0;
  }
  
  .more.classics-slider .classics-slider__title {
    font-size: 15px;
    line-height: 17px;
  }
  
  .more.classics-slider .classics-slider__nav {
    gap: 8px;
  }
  
  .more.classics-slider .classics-slider__btn-prev,
  .more.classics-slider .classics-slider__btn-next {
    width: 35px;
    height: 35px;
  }
  
  .more.classics-slider .classics-slider__swiper {
    padding: 20px 0;
  }
}


/* Стили для мобильной версии слайдера с полной высотой */
@media (max-width: 768px) {
  .main--mobile-full-height {
    display: flex;
    flex-direction: column;
    height: 100svh;
    padding-bottom: 107px;
  }
  
  .main--mobile-full-height .main__slider--mob {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .main--mobile-full-height .main__slider--mob .swiper-wrapper {
    flex: 1;
  }
  
  .main--mobile-full-height .main__slider--mob .swiper-slide {
    height: 100%;
  }
  
  .main--mobile-full-height .main__slider--mob .main__slide {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  
  .main__slider--mob-full-height {
    height: 100% !important;
  }
}

/* Стили для видео слайдов */
.main__slide--video {
  position: relative;
  overflow: hidden;
}

.main__slide--video .main__slide-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.main__slide--video .main__slide-wrapper {
  position: relative;
  z-index: 2;
  border-radius: 8px;
}

/* Адаптивные стили для видео слайдов */
@media (max-width: 768px) {
  .main__slide--video .main__slide-video {
    object-position: center;
  }
}

/* Стили для поля даты рождения */
.birthdate-input {
  display: none;
}

/* На мобильных устройствах показываем поле даты */
@media (max-width: 768px) {
  .birthdate-input {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 10;
  }
}
/* Стили для загрузчика */
.loader {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 10;
  justify-content: center;
  align-items: center;
  border-radius: inherit;
}

.loader.active {
  display: flex;
}

/* Стили для SVG loader по умолчанию */
.loader svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #374151;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Стили для кнопки с загрузчиком */
.btn--loading {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0.7;
}

.btn--loading .btn__text {
  opacity: 0;
}

.btn--loading .btn__loader {
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  color: white;
}

/* Адаптивные стили для загрузчика */
@media (max-width: 768px) {
  .loader svg {
    width: 2rem;
    height: 2rem;
  }
  
  .loader__text {
    font-size: 16px;
  }
  
  .btn--loading .btn__loader svg {
    width: 1.125rem;
    height: 1.125rem;
  }
}

.input-error{
  letter-spacing: -5%;
  text-transform: none;
}

/* Стили для оверлея поиска */
.search__overlay {
  position: fixed;
  top: 0; /* Будет установлено через JavaScript */
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--air-grey);
  border-top: none;
  z-index: 9999;
  max-height: 80vh;
  overflow-y: auto;
}

.search__overlay-content {
  padding: 20px;
}

.search__results {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.search__results .catalog__item {
  flex: 0 0 calc(50% - 10px);
  background: white;
  padding: 0 13px 27px;
}

.search__pagination {
  padding: 20px 0;
  border-top: 1px solid var(--air-grey);
}

/* Адаптивные стили для поиска */
@media screen and (max-width: 768px) {
  .search__results {
    gap: 15px;
  }
  
  .search__results .catalog__item {
    flex: 0 0 100%;
    padding: 0 0 15px 0;
  }
  
  .search__overlay-content {
    padding: 15px;
  }
}

/* Обеспечиваем видимость поиска поверх остального контента */
.search {
  position: fixed;
  z-index: 10000;
  top: 52px;
  width: 100%;
}

/* ===== CART POPUP STYLES ===== */
.cart-popup-overlay {
  position: fixed;
  z-index: 99999;
  width: 100%;
  inset: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.cart-popup {
  align-content: center;
  min-height: 5svw;
  position: fixed;
  inset-x: 0;
  top: 52px;
  z-index: 10000;
  width: 100vw;
  max-width: 24rem;
  padding: 1.5rem;
  margin: 0 auto;
  background: white;
  border: 1px solid #f3f4f6;
  right: 0px;
}

.cart-popup__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #6b7280;
  transition: all 0.2s;
  border-radius: 0.25rem;
}

.cart-popup__close:hover {
  background-color: #f5f5f5;
  color: #374151;
  transform: scale(1.1);
}

.cart-loader {
  position: absolute;
  inset: 0;
  background: white;
  background-opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 0.75rem;
  align-content: center;
}

/* Стили содержимого корзины */
.cart-empty {
  text-align: center;
  padding: 2rem 0;
  color: var(--dark-grey);
  font-size: 18px;
  line-height: 116%;
  text-transform: uppercase;
}

.cart-items {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  max-height: 24rem;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--air-grey);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  margin-right: 1rem;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}

.cart-item-info {
  flex: 1;
  margin-right: 1rem;
}

.cart-item-title {
  font-size: 16px;
  line-height: 150%;
  color: var(--color-body);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.cart-item-variant {
  font-size: 14px;
  line-height: 150%;
  color: var(--dark-grey);
  margin-bottom: 0.5rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-btn {
  background: none;
  border: 1px solid var(--air-grey);
  color: var(--color-body);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.cart-btn:hover {
  background: var(--color-body);
  color: white;
  border-color: var(--color-body);
}

.cart-btn--remove {
  color: #dc2626;
  border-color: #dc2626;
  margin-left: 0.5rem;
}

.cart-btn--remove:hover {
  background: #dc2626;
  color: white;
}

.cart-quantity {
  font-size: 14px;
  color: var(--color-body);
  min-width: 1.5rem;
  text-align: center;
}

.cart-item-price {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-body);
  text-align: right;
}

.cart-total {
  border-top: 1px solid var(--air-grey);
  padding-top: 1.5rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-body);
  text-transform: uppercase;
}

.cart-checkout-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem;
  background: var(--color-body);
  color: white;
  text-decoration: none;
  border-radius: 0.25rem;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.2s;
}

.cart-checkout-btn:hover {
  background: var(--dark-grey);
  color: white;
}

/* Адаптивные стили для корзины */
@media screen and (max-width: 768px) {
  .cart-popup {
    top: auto;
    bottom: 74px;
    min-height: 23svw;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    max-width: calc(100vw - 32px);
  }
}

@media screen and (max-width: 480px) {
  .cart-popup {
    top: auto;
    min-height: 23svw;
    max-width: calc(100vw - 16px);
    padding: 1rem 1rem 1rem 1rem;
  }
  
  .cart-popup__close {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.375rem;
  }
}

/* ===== LOGIN POPUP STYLES ===== */
.login-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
}

.login-popup {
  background: white;
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
  z-index: 1;
}

.login-popup__close:hover {
  background-color: #f5f5f5;
}

/* Переопределяем стили registration для popup */
.login-popup .registration {
  margin-top: 0;
  min-height: auto;
  padding: 0;
}

.login-popup .registration__body {
  max-width: 100%;
  margin: 0;
  padding: 32px 23px;
}

/* Адаптивные стили для popup */
@media screen and (max-width: 768px) {
  .login-popup-overlay {
    padding: 16px;
  }
  
  .login-popup {
    max-width: 100%;
    max-height: 95vh;
  }
  
  .login-popup .registration__body {
    padding: 24px 20px;
  }
}

@media screen and (max-width: 480px) {
  .login-popup-overlay {
    padding: 8px;
  }
  
  .login-popup .registration__body {
    padding: 20px 16px;
  }
  
  .login-popup__close {
    top: 12px;
    right: 12px;
    padding: 6px;
  }
}

/* Стили для попапа Shop the Look */
.shop-look-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
}

.shop-look-popup {
  position: relative;
  overflow-y: auto;
  background: transparent;
  max-width: 1200px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.shop-look-popup__close-text {
  font-family: 'XSAI', sans-serif;
  font-size: 12px;
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shop-look-popup__close-icon {
  font-family: 'XSAI', sans-serif;
  font-size: 14px;
  color: white;
}

.shop-look-popup__content {
  display: flex;
  flex: 1;
  overflow: hidden;
  background: white;
}

.shop-look-popup__look-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fafafa;
}

.shop-look-popup__look-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  overflow-y: auto;
}

.shop-look-popup__look-image {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.shop-look-popup__look-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-look-popup__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0;
  color: #999;
  font-size: 16px;
}

.shop-look-popup__products-section {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: white;
}

.shop-look-popup__products-title {
  font-family: 'XSAI-Bold', sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: #000;
  margin: 0 0 24px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shop-look-popup__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  flex: 1;
}

.shop-look-popup__products-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.shop-look-popup__product {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.shop-look-popup__product:hover {
  transform: translateY(-2px);
}

.shop-look-popup__product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.shop-look-popup__product-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f5f5f5;
}

.shop-look-popup__product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shop-look-popup__product:hover .shop-look-popup__product-image img {
  transform: scale(1.05);
}

.shop-look-popup__product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #999;
  font-size: 14px;
}

.shop-look-popup__product-info {
  padding: 16px;
}

.shop-look-popup__product-name {
  font-family: 'XSAI', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  margin: 0 0 8px 0;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-look-popup__product-price {
  font-family: 'XSAI-Bold', sans-serif;
  font-size: 18px;
  color: #000;
  font-weight: 600;
}

.shop-look-popup__no-products {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #999;
  font-size: 16px;
}

/* Мобильные стили */
@media (max-width: 768px) {
  .shop-look-popup-overlay {
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  body.shop-look-popup-open {
    overflow: hidden;
  }
  
  .shop-look-popup {
    max-height: 95vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .shop-look-popup__close-text {
    font-size: 10px;
  }
  
  .shop-look-popup__close-icon {
    font-size: 10px;
  }
  
  .shop-look-popup__content {
    flex-direction: column;
  }
  
  .shop-look-popup__look-section {
    padding: 20px;
    max-height: 40vh;
    display: none;
  }
  
  .shop-look-popup__look-images {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
  }
  
  .shop-look-popup__look-image {
    min-width: 200px;
    aspect-ratio: 3/4;
  }
  
  .shop-look-popup__products-section {
    padding: 20px;
  }
  
  .shop-look-popup__products-title {
    font-size: 16px;
    margin-bottom: 16px;
  }
  
  .shop-look-popup__products-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
  
  .shop-look-popup__products-list {
    gap: 12px;
  }
  
  .shop-look-popup__product-info {
    padding: 12px;
  }
  
  .shop-look-popup__product-name {
    font-size: 14px;
  }
  
  .shop-look-popup__product-price {
    font-size: 16px;
  }
}

.shop-look-popup__header {
  justify-content: flex-end;
  display: flex;
  padding-bottom: 2px;
}

/* Стили для кнопки логина в мобильном меню */
.burger__login-item .header__profile-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 0;
  color: var(--color-body);
  font-size: 16px;
  text-align: left;
  width: 100%;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.burger__login-item .header__profile-btn:hover {
  color: #666;
  background: none;
}

.burger__login-item .header__profile-btn img {
  width: 20px;
  height: 20px;
}

.burger__login-item .header__profile-btn span {
  font-size: 16px;
  text-transform: lowercase;
}

.header__search.active {
  z-index: 10001;
  position: relative;
}

/* Сохраняем видимость поля поиска при наличии результатов */
.search__overlay:not(:empty) ~ .header__search,
.header__search:focus-within,
.header__search.active {
  display: flex !important;
}

/* Стили для спиннера загрузки в форме входа */
.loading-spinner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spinner-icon {
  animation: spin 1s linear infinite;
}

textarea#additional_info:focus {
  /* border: none; */
  box-shadow: none !important;
}
.save-indicator {
  position: absolute;
  right: 0;
  top: 58%;
  text-transform: uppercase;
}

select.auto-save-field {
  text-transform: uppercase;
  width: fit-content;
  border: none;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  background: none;
}
select.auto-save-field:focus {
  border-bottom: none;
  box-shadow: none;
}

.content__items {
  min-width: 369px;
}

#yandex-split-button-container button{
  width: 100%;
}