@font-face {
  font-family: "Libertinus";
  src: url(/fonts/Libertinus_Serif/LibertinusSerif-Regular.ttf);
  font-display: swap;
}

:root {
  --primary: #1a1a1a;
  --secondary: #736356;
  --secondary-brown: #6a4f35;
  --text: #f8f5f2;
  --shadow: 2px 2px 2px #00000030;
  --transition: all .3s ease;
  --gray-text: #7F8C8D;
  --gray-light: rgba(0, 0, 0, .5);
  --gray: rgba(0, 0, 0, .7);
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 12px;
  /* font-family: "Montserrat", sans-serif; */
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  /* color: var(--text); */
  color: #ffffff;
  /* font-family: "Playfair Display", serif; */
}

body {
  overflow-x: hidden;
}

.section {
  min-height: 100vh;
}
.colorBlack {
  color: #000000;
}
.colorWhite {
  color: #ffffff;
}

.mask {
  width: 100%;
  height: 100vh;
  background-color: #00000075;
  position: fixed;
  top: 0;
  z-index: 9;
  display: none;
}
.mask.active {
  display: flex;
}
a {
  text-decoration: none;
}
h1 {
  font-family: "Libertinus", "PT Serif", serif;
  color: #fff;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 2px;
}

h2 {
  font-family: "Times New Roman", Times, serif;
  color: #fff;
  font-size: 1.8rem;
  letter-spacing: 2px;
}
h4 {
  font-family: "Libertinus", "PT Serif", serif;
}

.btn {
  height: 4rem;
  /* vertical-align: super */
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 3rem;
  margin: 0 auto;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  background: var(--secondary);
  letter-spacing: 1px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.btn span {
  color: #fff;
}

.btn-intro {position: relative; overflow: hidden;}
.btn-intro::before {content: ''; position: absolute; left: -50px; width: 25px; height: 100px; background-color: rgba(255, 255, 255, .7); box-shadow: 0px 0px 5px #fff; transform: rotate(15deg); animation: btnSlise 4s ease-in-out infinite;}
.btn-intro:hover {
  background: var(--secondary-brown);
  /* transform: translateY(-1px); */
  /* box-shadow: var(--shadow); */
}
.btn-intro svg {transition: var(--transition);}
.btn-intro:hover svg {transform: scale(1.1);}
@keyframes btnSlise {
  0% {left: -50px} 20% {left: calc(100% + 50px)} 100% {left: calc(100% + 50px)}
}


        /* Проверить использование!!!!!!!!!!!! */
/* Стили для кнопки с эффектом заполнения */
.btn-fill {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  background: #fff;
  border: 2px solid #007bff;
  color: #007bff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
  border-radius: 4px;
  z-index: 1;
}
.btn-fill:hover {
  color: #fff;
}
/* Элемент эффекта заполнения */
.btn-fill-effect {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #007bff;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
  pointer-events: none;
}
.btn-fill-effect--active {
  width: 300px;
  height: 300px;
}
/* Альтернативный вариант - заполнение слева направо */
.btn-fill-ltr {
  position: relative;
  display: inline-block;
  justify-content: center;
  text-decoration: none;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #007bff;
  color: #007bff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease 0.2s;
  border-radius: 4px;
  z-index: 1;
}
.btn-fill-ltr::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #007bff;
  transition: width 0.4s ease;
  z-index: -1;
}
.btn-fill-ltr:hover::before {
  width: 100%;
}
.btn-fill-ltr:hover {
  color: #fff;
}
/* Эффект клика */
.btn-fill--clicked {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

/* .button__slide-text {position: absolute; z-index: 1;} */
/* .button__slide-white {position: absolute; left: 100%; width: 100%; height: 100%;line-height: 4rem; background-color: #fff; color: var(--secondary-brown);  transition: var(--transition);}
.button__slide-brown {position: absolute; left: -100%; width: 100%; height: 100%;   line-height: 4rem; background-color: var(--secondary-brown); transition: var(--transition);}
.button__slide-text {position: absolute; z-index: 2; color: red;} */


.header {
  width: 100%; height: 8rem;
  padding: 2rem; 
  transition: var(--transition);
  position: fixed;
  z-index: 10;
  /* background-color: rgba(0, 0, 0, 0.3); */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header:hover {
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.scrolled {
  transform: translateY(0);
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.hidden {
  transform: translateY(-100%);
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  height: 50px;
  /* position: relative; */
}

.logo {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu-actions {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}
.menu-actions a:not(:first-child) {width: 24px;}
.menu-actions:last-child {margin-right: 34px;}
.menu-actions a img {
 width: 100%;
}
.menu-actions i {
  font-size: 2rem;
}

.menu__actions-phone {
  font-size: 1.6rem;
  white-space: nowrap;
  margin-right: 1rem;
  transition: var(--transition);
}
.fa-whatsapp {margin-right: 3rem;}
/* .menu-actions button {position: absolute; right: 0;} */

/* @media (max-width: 390px) {
  .burger {position: absolute; right: 0;}
} */

@media (max-width: 768px) {
  .header {padding: 1rem 0; height: 9rem;}
  .header__wrapper {flex-direction: column; height: auto; gap: 0.5rem;}
  .menu-actions {margin: 0 auto;}
  .menu-actions:last-child {margin-right: inherit;}
  
}


  /* НАВИГАЦИЯ */
.navigation {position: relative;}
.nav-links {
    position: fixed;
    /* position: absolute; */
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 40px 40px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 12;
    overflow-y: auto;
}
.nav-links.active {
  right: 0;
}

.nav-item {
  margin: 15px 0;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 111;
  list-style: none;
  /* overflow: hidden; */
  background-color: #fff;
  transition: var(--transition);
}
.nav-item span {cursor: default;}

.nav-link {
  text-decoration: none;
  color: #000;;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  /* padding: 10px 0; */
  background-color: #fff;
  position: relative; z-index: 2;
  transition: color 0.3s ease;
}
.nav-link:hover, .dropdown-item:hover a {
  color: var(--secondary-brown); 
}
.nav-link.active {color: var(--secondary-brown);}


.dropdown-content {
  /* position: static; */
  box-shadow: none;
  opacity: 1;
  /* visibility: visible; */
  /* transform: translateY(-100%); */
  /* height: 0; */
  margin-top: 10px;
  /* background-color: var(--light-bg); */
  border-radius: 5px; 
  transition: var(--transition);
}
.dropdown-link {
  transition: var(--transition);
  color: var(--primary);
}
.dropdown-link.active {color: var(--secondary-brown); font-size: 110%;}
.nav-item:hover .dropdown-content {
  display: block;
  /* transform: translateY(0); */
  height: 100%;
}

.nav-item:hover .dropdown-content {
  opacity: 1;
  /* visibility: visible; */
  transform: translateY(0);
  height: 100%;
}
.dropdown-item {
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-link {
  text-decoration: none;
  /* color: var(--text-color); */
  transition: color 0.3s ease;
  display: block;
}
.dropdown-link:hover {
  color: var(--secondary-brown);
}




.burger {
  position: absolute; right: 0rem;
  z-index: 12;
  background: none;
  border: none;
  cursor: pointer;
  color: #ddd;
  font-size: 2rem;
  transition: var(--transition);
  margin-right: 2rem;
}
.burger i {transition: var(--transition);}
.fa-bars:hover {
  color: #ccc;
}
.fa-times {
  color: #ccc;
  font-size: 2rem;
  /* margin-right: 1.3rem; */
}
.button__close {position: absolute; right: 2rem; top: 3rem; background: none; border: none; cursor: pointer; width: 24px; height: 24px;}
.fa-times:hover {color: #999;}
.screen-reader-only {display: none; visibility: hidden}

@media (max-width: 768px) {
  .burger {top: 2rem;}
}
@media (max-width: 390px) {
  .burger {position: relative; top: 0rem; margin-right: 0}
}

/* Анимации */
/* @keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-item:nth-child(1) {
  animation: fadeIn 0.5s ease 0.1s forwards;
  opacity: 0;
}

.nav-item:nth-child(2) {
  animation: fadeIn 0.5s ease 0.2s forwards;
  opacity: 0;
}

.nav-item:nth-child(3) {
  animation: fadeIn 0.5s ease 0.3s forwards;
  opacity: 0;
}

.nav-item:nth-child(4) {
  animation: fadeIn 0.5s ease 0.4s forwards;
  opacity: 0;
}

.nav-item:nth-child(5) {
  animation: fadeIn 0.5s ease 0.5s forwards;
  opacity: 0;
} */


/* Специальный эффект градиента для навигации */
/* .sewing-thread {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-color),
    var(--secondary-color)
  );
  background-size: 200% 100%;
  transition: width 0.4s ease, background-position 0.6s ease;
} */

.nav-link:hover .sewing-thread {
  width: 100%;
  background-position: 100% 0;
}

/* intro */
.intro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* background: url(../images/kostyumy-iz-tvida.jpg) no-repeat top / cover fixed; */
}
.intro__background {
  width: 100vw;
  height: 100vh;
  position: absolute; left: 0; top: 0;
  z-index: -1;
  overflow: hidden;
}


.intro__background img { 
  width: 100%; 
  height: 100vh;
  object-fit: cover;
  object-position: top;
  /* background-position: top; */
  /* aspect-ratio: 3 / 4; */
  /* object-position: top; */
}
/* @media (max-width: 768px) {
  .intro__background img {
    height: 100vh;
  }
}
@media (orientation: portrait) {
  .intro__background img {
    height: 100vh;
  }
} */

.intro-content {
  padding: 0 2rem;
}
.intro-content h1 {
  font-size: 3.5rem;
  text-align: center;
}

.intro-content p {
  color: #fff;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 20px 0;
}
@media (max-width: 768px) {
  .btn {padding: 0 2rem;}
  .intro-content h1 {
    font-size: 3rem;}
  }
@media (max-width: 500px) {
  .intro-content h1 {
    font-size: 8vw;
  }
  .intro-content p {
    font-size: 3vw;
  }
  .btn-intro span {
    font-size: 2.6vw;
  }
}
@media (max-width: 400px) {
  .btn { padding: 0;}
  .btn-intro {width: max-content; padding: 0 2rem; justify-content: center;}
}



/* ГАЛЕРЕЯ-intro */
.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 50px;
  /* Базовый размер строки */
  gap: 5px;
  width: 100vw;
  max-width: 1600px;
  padding: 0 8rem;
  margin: 4rem auto;
}

.masonry-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--gray-light), var(--gray));
  overflow: hidden;
  /* color: white; */
  /* font-size: 24px; */
  /* font-weight: bold; */
  /* border-radius: 8px; */
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.masonry-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}
.masonry-item:hover img{
  transform: scale(1.1);
  background-color: #000;
}

.masonry-item span {
  position: absolute;
  cursor: pointer;
  font-size: 3rem;
  font-family: "Libertinus" , "PT Serif", serif;
  font-weight: 400;
  /* color: #fff; */
  opacity: .7;
  transition: var(--transition);
  text-align: center
}
.masonry-item:hover span {
  opacity: 1;
}


/* Разная высота через grid-row: span X */
.masonry-item:nth-child(1) {
  grid-row: span 10;
}

.masonry-item:nth-child(2) {
  grid-row: span 8;
}

.masonry-item:nth-child(3) {
  grid-row: span 10;
}

.masonry-item:nth-child(4) {
  grid-row: span 10;
}

.masonry-item:nth-child(5) {
  grid-row: span 8;
}

.masonry-item:nth-child(6) {
  grid-row: span 8;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
    /* 2 колонки */
  }
  .masonry-item:nth-child(1) {
    grid-row: span 5;
  }

  .masonry-item:nth-child(2) {
    grid-row: span 6;
  }

  .masonry-item:nth-child(3) {
    grid-row: span 6;
  }

  .masonry-item:nth-child(4) {
    grid-row: span 6;
  }

  .masonry-item:nth-child(5) {
    grid-row: span 6;
  }

  .masonry-item:nth-child(6) {
    grid-row: span 5;
  }
}
@media (max-width: 768px) {
  .masonry-gallery {
    /* grid-template-columns: repeat(1, 1fr); */
    padding: 0 1rem;
  }
  .masonry-item span {
    font-size: 2rem;
  }
}


.afisha {
  position: relative;
}
.afisha__wrapper img {
  width: 100%;
  height: 100vh;
  min-height: 360px;
  object-fit: cover;
}
.afisha__title {
 position: absolute; z-index: 1; top: 50%; right: 2vw; width: 40%; font-family: 'Libertinus', "PT Serif", serif; color: #fff; font-size: 3rem; font-size: 2.5cqi; font-weight: 400; letter-spacing: 2px; 
}
@media (max-width: 768px) {
  .afisha__title {
     font-size: 2rem; font-size: 3.5cqi; 
  }
}
@media (max-width: 500px) {
  .afisha__title {
     font-size: 1.2rem;  letter-spacing: 1px; 
  }
}


.certificate__card {display: flex;  position: relative; max-height: 530px; margin: 4rem 3rem; }
/* .certificate__card::before {content: ''; position: absolute; z-index: 2; left: calc(35% - 50px); top: -11px; background-image: url('../images/certificate/bant.png') ; background-size: 100% 100%; width: 100px; height: calc(100% + 22px);} */
.certificate__card-bant1 {position: absolute; z-index: 2; left: calc(35% - 50px); top: -11px; background-image: url('../images/certificate/bant1.png') ; background-size: 100% 100%; width: 100px; height: calc(100% + 22px);}
/* .certificate__card-bant2 {display: none; position: absolute; z-index: 2; left: -11px; top: 0; background-image: url('../images/certificate/bant2.png') ; background-size: 100% 100%; width: calc(100% + 22px); height: 200px;} */

.certificate__img {width: 35%; height: auto; position: relative; }
/* .certificate__img::after {content: ''; position: absolute; top: calc(100% - 80px); display: none; width: 100%; height: 200px; background-image: url('../images/certificate/bant2.png'); background-size: cover; background-repeat: no-repeat; background-size: 100% 100%;} */
.certificate__img img {width: 100%; height: 100%; object-fit: cover;}
.certificate__text {width: 65%; padding: 5cqi; background-color: var(--secondary); background-image: url('../images/certificate/certificate-back.jpg'); background-size: 100% 100%; background-repeat: no-repeat;}
.certificate__text h4 {font-size: 2em; font-family: "Libertinus"; text-transform: uppercase; text-align: center; line-height: 1.5; letter-spacing: 1px; margin-bottom: 3rem;}
.certificate__text-subtitle {font-size: 1.3rem; font-family: Arial, Helvetica, sans-serif;}
.certificate__text p {margin-bottom: 1.5rem; letter-spacing: 1px; font-size: 1.2rem;}
.certificate__text > *, .certificate__text ul li {color:goldenrod; font-family: Arial, Helvetica, sans-serif;}
.certificate__text ul {list-style: none; margin-bottom: 1.5rem; font-size: 1.2rem;}
.certificate__text ul li {line-height: 1.4; font-size: 1.2rem;}
@media (max-width: 1070px) {
  .certificate__img img {width: 100%; height: 100%; object-fit: cover; object-position: center;}
}
@media (max-width: 968px) {
  .certificate__img {max-height: inherit; }
}
@media (max-width: 768px) {
  .certificate__card {max-height: fit-content; flex-direction: column; margin: 4rem 0rem;}
  .certificate__img {width: 100%; height: 400px;}
  .certificate__text {width: 100%; }
  .certificate__card-bant1 {display: none;}

  /* .certificate__img {display: none;} */
  .certificate__img {order: 2;}

  /* .certificate__card-bant2 {display: flex;} */
  .certificate__img::after {display: flex; top: -80px;}
}
@media (max-width: 600px) {
  .certificate__img {height: 320px;}
  /* .certificate__text {padding: 1rem  7cqi 7cqi 7cqi; } */
}



.trend {
  margin: 4rem 0;
}

.trend h1 {
  color: #000;
  line-height: 3;
  text-align: center;
}

.trend__wrapper {
  display: flex;
  gap: 3px;
}

.trend__presentation {
  width: 33.3333%;
}
.trend__image-main {
  width: 100%;
  min-height: 400px;
  max-height: 100vh;
  object-fit: cover;
}

.trend__content {
  width: 66.6666%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trend__content h4 {
  color: #000;
  margin: 1rem 1rem 0 1rem;
  font-size: 1.6rem;
  font-family: "Libertinus", "PT Serif", serif;
  font-weight: 300;
}

.trend__gallery {
  display: flex;
  gap: 3px;
}
.trend__image-second {width: 100%; object-fit: cover; height: 28cqi;}
.trend__gallery-block {width: 25%;}

.trend__description {
  height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* .trend__gallery p {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 1rem;
  font-family: "Libertinus, "PT Serif", serif"; 
} */
.trend__gallery-title {
  display: flex; 
  justify-content: space-between; 
  width: 100%;
}
.trend__block-price {
  color: var(--primary);
  margin: 1rem 0 1rem 1rem;
  font-weight: 800;
}
.trend__block-article {
  margin: 1rem 1rem 1rem 0;
  color: var(--gray-text); text-align:right; 
}

.trend__btn {
  margin-top: 4rem;
  padding: 0 5rem;
  background-color: #fff;
  border: 1px solid var(--secondary-brown);
  color: var(--secondary-brown);
  font-size: 12px;
  overflow: hidden;
}
/* .trend__btn:hover {

} */

@media (max-width: 1200px) {
  .trend__wrapper {
    display: inherit;
  }
  .trend__presentation {
    width: 100%;
  }
  .trend__image-main{
    /* height: auto; */
    aspect-ratio: 3 / 4;
  }
  .trend__image-second {
    height: auto;
    aspect-ratio: 3 / 4;
  }
  .trend__content {
    width: 100%;
  }
  .trend__content h1 {
    margin: 1rem;
  }
  
  .trend__description h4 {
    margin: 2rem;
  }
  .trend__gallery {
    display: grid; grid-template-columns: repeat(2, 1fr);
  }
  .trend__gallery-block {padding-bottom: 2rem; width: inherit;}
  .trend__gallery p {
    margin: 2rem;
  }
  .trend__block-price {margin-left: 2rem;}
  .trend__block-article {margin-right: 2rem;}
}
@media (max-width: 900px) {
  .trend__content h1 {line-height: 1.3; }
}
@media (max-width: 420px) {
  .trend__description h4{
    margin: 1rem;
  }
  .trend__block-price {
    margin: 1rem;
  }
  .trend__block-article {
    margin: 1rem;
  }

}

/* О компании */
.about__wrapper {
  display: flex;
  gap: 5px;
}

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

.about__video,
.about__info {
  width: 50%;
  display: flex;
  flex-direction: column;
  /* margin-bottom: 5px; */
}

.about__movie {
  height: 600px;
}

.about__video span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.about__info {
  display: flex;
  align-items: center;
}

.about__info-img {
  width: 150px;
}

.accordion {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 5px;
}

.accordion-header {
  width: 100%;
  padding: 15px;
  text-align: left;
  background: var(--secondary-brown);
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1rem;
  text-transform: uppercase;
  transition: background 0.3s;
  position: relative;
  padding-right: 30px;
}

.accordion-header::after {
  content: "+";
  position: absolute;
  right: 15px;
  font-size: 1.1rem;
  transition: transform 0.3s;
}                                                                   

.accordion-header.active::after {
  content: "×";
  transform: scale(1.3);
}

.accordion-header:hover {
  background: var(--secondary);
}

.accordion-content {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--secondary);
}

.accordion-content ul {
  padding: 1rem;
}
@media (min-width: 1280px) {
  .about__video,
  .about__info {
    /* width: auto; */
    display: flex;
    flex-direction: column;}
  .about__video img{height: 100%;}
}
@media (max-width: 900px) {
  .about {padding: 0 0 2rem 0;}
  .about__wrapper {
    display: inherit;
  }
  .about__video,
  .about__info {
    width: 100%;
  }
}



/* REVIEWS */
.reviews img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}
.reviews__wrapper {
  display: flex;
  gap: 5px;
  overflow-y: hidden;
}

.reviews__wrapper>* {
  min-width: 350px;
}
/* .reviews__wrapper-block {
  aspect-ratio: 1 / 2;
} */
@media (min-width: 1280px) {
  /* .reviews__wrapper>* {height: auto;} */
}
@media (max-width: 1024px) {
  .reviews__wrapper-block{min-width: 250px;}
  .reviews__wrapper {overflow-x: auto;}
}

/* MAPS */
.maps__wrapper {width: 100%; display: flex; justify-content: center;}
.maps img{width: 100%; max-height: 50vh; object-fit: cover;}

/* FOOTER */
footer {
  background-color: var(--primary);
}

.footer__column {
  font-size: 3rem;
}

.footer__column h3 {
  line-height: 2;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

/* .footer__column p {margin-left: 1rem;} */
.footer__column i {
  font-size: 2rem;
}

.footer__column ul {
  list-style: none;
  text-transform: uppercase;
}

.footer__column ul li {
  margin-bottom: 1rem;
}

.footer-links:not(:first-child) {
  margin-top: 2rem;
}
.footer__column a img {
  width: 24px;
  margin-bottom: -3px;
  margin-right: 7px;
}
.footer__column:last-child a{
  margin-right: .5rem;
}
.footer-links i {
  font-size: 1.2rem; margin-right: .4rem;
}
.footer__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
}

.copyright {
  text-align: center;
  padding: 1rem;
  margin: 0 2rem;
  border-top: 1px solid #ffffff11;
}
@media (max-width: 768px) {
  /* .footer__wrapper {padding: 2rem 1rem;} */
  .footer__column:nth-child(2) {display: none;}
  .footer__column h3 {line-height: 1.6;}
}
@media (max-width: 550px) {
  .footer__wrapper {flex-direction: column;}
}
      /* Галереи вещей */
/* .clothes {display: flex;} */
.clothes__title {
  width: 40vw;
  padding-right: 8rem;
  /* line-height: 2; */
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.clothes__text {
  width: 40vw;
  padding-right: 8rem;
  letter-spacing: 1px;
  line-height: 135%;
  margin-bottom: .5rem;
  color: #fff;
}
.clothes__gallery {
  display: grid; 
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 4rem 0 0 0;
}

.clothes__block {
  display: block;
  overflow: hidden;
  position: relative;
}
.clothes__block:hover img {
  filter: brightness(0.7);
}

.clothes__block::after {
  content: '+';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  /* background: rgba(255, 255, 255, 0.9); */
  /* border-radius: 50%; */
  border: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  /* font-weight: bold; */
  color: #ccc;
  transition: var(--transition);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.clothes__block:hover::after {
  opacity: 1;
}


.clothes img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}


.clothes__content{
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.clothes__content h4 {
  color: #000;
  margin: 1rem 1rem 0 1rem;
  font-size: 1.6rem;
  font-family: "Libertinus", "PT Serif", serif;
  font-weight: 300;
}
.clothes__block-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.clothes__block-text > *, .clothes__block-text{
   color: #000; line-height: 1.6;  font-size: 1.2rem; letter-spacing: 1px;
}
.clothes__block-text strong {font-size: 1.3rem;}
.clothes__block-text:not(:last-child) {
  margin-bottom: .4rem;
}
.clothes__block-price{
  font-size: 1rem;
  color: var(--primary);
  font-weight: 800;
  margin: 1rem;
}
.clothes__block-article {
  color: var(--gray-text); 
  text-align:right; 
  margin: 1rem;
}

.clothes__pants,
.clothes__zhilety,
.clothes__handmade,
.clothes__pidzhaki,
.clothes__palto,
.clothes__kostyumy {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  position: relative;
  padding: 7rem 0;
  padding-top: min(110px);
}

.clothes__pants {
  background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url(/images/bryuki/bryuki-iz-tvida-108.jpg) no-repeat center center / cover;
}
.clothes__zhilety {
  background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(/images/zhilety/zhilet-tvidoviy-korichnevyy.jpg) no-repeat center center / cover;
}
.clothes__handmade {
  background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url(/images/handmade/dzhemper-polo-sherst.jpg) no-repeat center center / cover;
}
.clothes__pidzhaki{
  background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url(/images/pidzhaki/4.jpeg) no-repeat center center / cover;}
.clothes__palto {
  background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url(/images/palto/palto-tvidovoe.jpg) no-repeat center center / cover;
}
.clothes__kostyumy {
  background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url(/images/kostyumy/kostyumy-top.jpg) no-repeat center center / cover;
}
@media (max-width: 1280px) {
  .clothes img {
    height: 420px;
  }
}

@media (max-width: 1024px) {
  .clothes__title {
    width: 60vw;
  }
  .clothes__text {
    width: 60vw;
  }
}

@media (max-width: 768px) {
  .clothes__title {
    width: 100%;
    padding: 0 3rem;
    /* line-height: 1.8; */
    letter-spacing: 1px;
  }
  .clothes__text {
    width: 100%;
    padding: 0 3rem;
    letter-spacing: 1px;  
  }
  .clothes__gallery {
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    margin: 4rem 0 0 0;
  }
  .clothes img {
    height: 350px;
  }
}
@media (max-width: 500px) {
  .clothes img {
    height: 240px;
  }
  .clothes__title {
      padding: 0 2rem;
  }
  .clothes__title-wrap {
      hyphens: auto;
  }
    .clothes__text {
        padding: 0 2rem;
    }
}
@media (max-width: 420px) {
  .clothes__title {letter-spacing: 0.5px;}
}

/* УСЛУГИ */
.service__background {position: relative;}
.service__background::before {content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(0, 0, 0, .6), transparent);}
.service__background img {width: 100%; height: 50vh; object-fit: cover; object-position: left 70%;}
.service__background h1 {color: white; position: absolute; top: 50%; left: 70%}
.service__stickers {display: flex; justify-content: center; gap: 5%; margin: 2rem auto;}
.service__stickers-block{width: 90px;}
.service__stickers-block img {width: 100%; height: 100%; object-fit: contain;}
.service__content > * {color: var(--primary);}

/* .service__body {display: flex; gap: 1rem;} */
.service__body {padding: 0 5rem; width: 100%; max-width: 1280px; margin: 0 auto 2rem;}
.service__block {position: relative; display: flex; justify-content: center; margin-bottom: 2rem;}
.service__block:nth-child(2) {flex-flow: row-reverse;}
.service__block-img {width: 100%; max-width: 400px; height: 400px;}
.service__block-video {height: 800px;}
.service__block-img img {width: 100%; height: 100%; object-fit: cover;}
.service__block-img video {width: 100%; object-fit: cover;}
/* .service__block-text {position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); background-color: rgba(255, 255, 255, .6); width: 80%; height: auto; display: flex; align-items: center;} */
.service__block-content {padding: 0 4rem; display: flex; flex-direction: column; justify-content: center; max-width: 500px;}
.service__block-content h2 {color: #555; text-align: center; text-transform: uppercase; font-size: 16px; padding: 1rem 0;}
.service__block-content p {color: #555; text-indent: 2rem; }
.service__block-content p:not(:last-child) {margin-bottom: 1rem;}

@media (max-width: 1024px) {
  .service__block {display: block; }
  .service__block-content {padding-right: 0; margin: 2rem 0 2rem auto;}
}
@media (max-width: 768px) {
  .service__background h1 {left: 60%;}    
  .service__body {padding: 0 2rem;}
  .service__stickers {gap: 2%;}
}


.contacts {
  /* background-color: #6a4f352d; */
  min-height: auto;
  padding-top: 8rem;
}
.contacts__content {
  display: flex;
  align-items: center;
}

.contacts__header {
  width: 50%;
  display: flex;
  justify-content: center;
}
.contacts__header iframe {
  width: 100%;
  min-height: calc(100vh - 80px);
}

.contacts__body {
  color: var(--primary);
  padding: 0 3rem;
  width: 50%;
  max-width: 800px;
}
.contacts__body h3 {
  font-size: 1.2rem;
  color: inherit;
  margin-bottom: 1rem;
  font-weight: 300;
}
.contacts__body h4 {
  color: inherit;
  margin-bottom: .5rem;
    text-decoration: underline;

}

.contacts__title {color: var(--primary); line-height: 2;}
.contacts__body p{margin-bottom: 1rem;}
.contacts__body p, .contacts__body span  {color: var(--primary);}
.contacts__body span {font-weight: 800;}
.contacts button {margin-top: 2rem; margin-bottom: 2rem;}

/* .product__header {
  height: 90px;
  background-color: rgba(0, 0, 0, 0.8);
} */
@media (max-width: 1024px) {
  .contacts__content {flex-direction: column;}
  .contacts__header {width: 100%;}
  .contacts__header iframe {
  min-height: calc(100vh - 180px);
}
  .contacts__body {width: 100%; padding: 0 2rem;}
}
@media (max-width: 768px) {
    .contacts {
        padding-top: 0rem;
    }
  .contacts__body {padding: 0 1rem;}
  
}


      /* Отдельный просмотр товара */
.product-container {
  display: flex;
  margin: 0 auto;
  min-height: 100vh;
}
.product-gallery {
  width: 65%;
}
.product-image {
  min-height: calc(100vh - 150px);
  padding-top: 8rem;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-info {
  /* min-height: 100%; */
  width: 35%; 
  position: relative;
}
.product-info-container {
  position: sticky; right: 0; top: 80px; 
  display: flex;
  flex-direction: column; 
  padding: 3rem;
}
/* .product-info {
  width: 35%;
  position: fixed; right: 0; top: 80px;
  display: flex;
  flex-direction: column; 
  padding: 3rem;
} */
.product-title {
  font-size: 2rem;
  color: #000;  
  margin-bottom: 1rem;
}

.back-button { 
  width: fit-content;
  display: flex; 
  margin: 2rem auto; 
  color: #ffffff; 
  background-color: var(--gray-light);
  text-decoration: none; 
  font-size: 1rem;
  opacity: .8;
  padding: 0 2rem;

}
.back-button:hover {
  color:var(--text); 
  opacity: 1;
  background-color: var(--gray);
}
.back-button span {transition: var(--transition);}
.back-button:hover span {transform: translateX(-3px) scale(1.1);}
@media (max-width: 1024px),  (max-height: 768px){
  .product-container {
    display: block;
  }
  .product-gallery {
    width: 100%;
  }
  /* .product-image{
    padding-top: 8rem;
  } */
  .product-info {
    width: 100%;
    position: relative; top: 0; right: 0;
    padding: 2rem;
  }
  .product-info-container {
    padding: 0;
  }
  .back-button {
    /* margin-bottom: 0; */
  }
}
@media (max-width: 768px) {
  .product-image {min-height: auto; padding-top: 9rem;}
}
/* @media (max-width: 390px) {
  .product-image {padding-top: 9.1rem;}
} */

/* Модальные окна */
.modal {display: none; position: fixed; z-index: 10; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.5); opacity: 0; transition: all .3s ease;}
.modal__wrapper {width: 600px; border-top-left-radius: 6px; border-top-right-radius: 6px; overflow: hidden;}
.form__booking {border-bottom-left-radius: 6px;border-bottom-right-radius: 6px;}
.modal__header {background-color: var(--secondary); padding: 15px 30px; max-width: 600px; }
.modal__header  h2 {font-family: 'Montserrat', sans-serif !important; margin-bottom: 20px; font-size: 2rem; font-weight: 800;}
.modal__header p {font-weight: 300; font-size: 80%;}
.modal__close {position: absolute; right: 2rem; top: 1.5rem; background-color: transparent; border: none; cursor: pointer;}

.form__booking {padding: 30px; background-color: #fff;}
.form-group {margin-top: 20px;}
.form-group h3 {font-size: 14px; color: #333; margin-bottom: 10px; font-family: 'Montserrat', sans-serif !important;}
.form-group input {width: 100%; font-size: 1.25rem; padding: 6px 12px; border-radius: 6px; color: #333; font-family: 'Montserrat', sans-serif !important;  border: 1px solid #e5e5e5;}
.form-group ::placeholder {color: #ccc; font-weight: 100;}
.checkbox-group {margin-top: 20px;}
.checkbox-group > * {color: #000; font-weight: 300;}
.checkbox-group label {margin-left: 10px;}
.form__booking-btn {margin-top: 20px; margin-right: 0; background-color: rgba(0, 0, 0, .4); font-weight: 300; font-size: 1rem; padding: 0 2rem;}
.form__booking-btn:hover {background-color: rgba(0, 0, 0, .6);}

@media (max-width: 600px) {
  .modal {width: 100%;}
  .modal__header {padding: 1.5rem;}
  .form__booking {padding: 1.5rem;}
  .form-group:first-child {margin-top: .5rem;}
  .fa-times {margin-right: 1.5rem;}
}