@import url('https://fonts.cdnfonts.com/css/optima');

body {
    background: #EFDECE;
    background-image: url('https://static.tildacdn.com/tild3564-3536-4836-b832-346538643036/pattern.svg');
    background-repeat: repeat;
    font-family: 'Optima', sans-serif;
}

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

.container {
    margin: 0px auto;
    padding: 0;
    overflow-y: hidden;
  }
  
  .header {
    position: relative;
    top: 0;
    left: 0;
    /*z-index: 50000;*/
    transition: all .3s ease;
    background-color: #BB1732;
    overflow: hidden;
    }
    
  .header:before {
    content: '' ;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    }
    
  .header__body {
    position: relative;
    height: 65px;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 10px;
    }
    
  .header__logo {
      flex: 0 0 250px;
      position: relative;
      z-index: 3000;
    }
    
  .header__logo img {
    max-width: 100%;
    }
    
  .header__burger {
    display: none;
    }
    
  .header__list {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    z-index: 2000;
    padding-left: 0 !important;
    font-size: 20px;
    letter-spacing: 1px;
    gap: 30px;
    margin: 0;
    margin-top: 3px !important;
  text-align: center;
    }

    
    .header__list-item {
    list-style: none;
    position: relative;
    }
    

    .header__logo-mob {
        display: none;
    }
    
  .header__link {
      color: #EFDECE !important;
      text-decoration: none;
    }
    
    
  .button__link {
    background-color: #F190B4;
    color: #F190B4;
    border-radius: 20px;
    padding: 10px 20px;
    transition: all 0.3s ease 0s;
  }
  
  .button__link:hover,
  .button__link:active {
    background-color: #000;
    color: #F190B4;
  }
  
  .lang-desk{
      display: flex;
      position: absolute;
      top: 15px;
      right: 50px;
      align-items: baseline;
      gap: 5px;
  }
  
  .header__lang {
      display: flex;
      color: white;
      font-size: 16px;
      position: relative;
      margin: 0;
      z-index: 2000;
      right: 0;
      line-height: 1.7rem;
  }

  .lang-desk img {
    width: 100%;
    /* max-height: 20px; */
  }
  
  .header__lang-mobile {
      display: none;
  }
  
  .link-visited {
    border-bottom: solid rgba(255, 255, 255, 0.8) 1px !important;
  }
  
  /* Добавлены стили для меню второго уровня */
.header__list-second {
  display: none;
  position: absolute;
  left: initial;
  background-color: black;
  padding: 35% 20% 15% 20% !important;
  list-style: none;
  z-index: 3000;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  min-width: 150px;
}

.header__list-second-li {
  margin: 0;
  padding-bottom: 10%;
  text-align: center;
  
}

.header__link-second {
  font-size: 16px;
  letter-spacing: 1px;
  color: white !important;
}

.header__list li:hover .header__list-second {
  display: block;
}

.accordion-arrow {
    display: none;
}

.header__lis a img {
    width: 100%;
}

.header__lis a {
    width: 100%;
}

.header__lis {
    width: 9%;
    min-width: 215px;
}

.header_element {
    position: absolute;
}

.header_element_left {
    transform: rotate(180deg);
    margin: -8px 0 0 0;
}

.header_element_right {
    right: 0;
    margin: -8px 0 0 0;
    z-index: 2;
}

.header_element_line {
    width: 96.1%;
    border-top: 1px solid #EFDECE;
    border-bottom: 1px solid #EFDECE;
    position: absolute;
    margin: -8px 0 0 50px;
    z-index: 1;
    height: 70px;
}

  @media (max-width: 960px) {
    
    body.lock {
      overflow: hidden;
    }

    .header__body {
        justify-content: space-between;
    }
    
    .header__lis {
        display: none;
    }
  
    .header__burger span {
      position: absolute;
      background-color: #EFDECE;
      left: 0;
      width: 100%;
      height: 1px;
      top: 9px;
      transition: all 0.3s ease 0s;
    }
    .header__burger:before, 
    .header__burger:after {
      content: '';
      background-color: #EFDECE;
      position: absolute;
      width: 100%;
      height: 1px;
      left: 0;
      transition: all 0.3s ease 0s;
    }
    .header__burger:before {
      top: 0;
    }
    .header__burger:after {
      bottom: 0;
    }
  
    .header__burger.active span {
      transform: scale(0);
    }
  
    .header__burger.active:before {
      transform: rotate(45deg);
      top: 9px;
    }
    
    .header__burger.active:after {
      transform: rotate(-45deg);
      bottom: 9px;
    }
  
    .header__menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100%;
      background-color: #BB1732;
      padding: 0;
      transition: all 0.5s ease 0s;
      z-index: 2000;
      overflow: hidden;
    }
  
    .header__menu.active {
      right:0;
      overflow: hidden;
    }
  
    .header__list {
      display: block;
      text-align: center;
      font-size: 20px;
      margin-top: 140px !important;
      padding: 0 !important;
    }
  
    .header__list-item {
      margin: 0px 0px 40px 0px;
      width: unset;
    }

    .header__burger {
      display: block;
      position: absolute;
      top: 38%;
      right: 40px;
      width: 40px;
      height: 20px;
      z-index: 3000;

    }

    .header__lang {
        margin: 0 0 0 0;
        font-size: 26px;   
    }
    
    .lang-desk {
        display: none;
    }
    
    .header__lang-mobile {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 10px;
      padding-top: 10%;
    }
    
    .header__lang-mobile img {
        width: 30px;
    }
            
    .header__logo-mob {
        display: block;
        position: absolute;
        text-align: center;
        z-index: 3000;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .header__list-second {
      padding: 8% 6% 10% 8% !important;
      z-index: 3000;
      left: 50%;
      width: 80vw;
      max-width: 100vw;
    }
    
    .header__list-second-li {
      margin: 0;
      padding-bottom: 6% !important;
      text-align: center;
      width: unset;
    }
    
    .header__link-second {
      font-size: 20px;
    }
    
    .accordion-arrow {
  background: url('https://static.tildacdn.com/tild3135-3032-4665-a234-643037326532/arrow.svg') no-repeat;
  background-size: contain;
    width: 20px;
    height: 20px;
    display: inline-block;
    position: absolute;
    top: 60%;
    right: 28%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.header__list-item.active .accordion-arrow {
  transform: translateY(-75%) rotate(-90deg);
}
    
/* Стили для активного состояния */
.header__list-item.active .header__list-second,
.header__list-item.active .accordion-arrow {
    display: block;
} 
    
        /* Скрытие аккордеона по умолчанию */
    .header__list-second {
        display: none;
    }

    /* Показываем стрелку (галочку) только в мобильной версии */
    .header__list-item .accordion-arrow {
        display: block;
    }

    /* Активируем аккордеон по клику */
    .header__list-item.active .header__list-second {
        display: block;
    }
    
    .header__list li:hover .header__list-second {
        display: none;
    }
  }
  
  
.h1-size-ss {
    font-size: clamp(42px, 5.5vw, 6rem);
}

.h2-size-ss {
    font-size: clamp(28px, 3.4vw, 5rem);
}

.h3-size-ss {
    font-size: clamp(30px, 2.2vw, 4rem);
    font-weight: 300;
}

.h4-size-ss {
    font-size: clamp(22px, 1.8vw, 2.4rem);
    font-weight: 300;
}

.p-size-ss {
    font-size: clamp(16px, 1.2vw, 1.5rem);
    line-height: 160%;
    letter-spacing: 0.03em;
}

.p-size-footer {
    font-size: clamp(16px, 1.2vw, 1.5rem);
}

.p-mini-size {
  font-size: clamp(12px, 1vw, 1.1rem);
}

.dive-into {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.dive-into img {
    position: relative;
    width: 100%;
    z-index: 1;
}

.dive-into-box {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    margin-left: 50%;
    width: 40%;
    gap: 1.5vw;
}

.dive-into-box h3 {
    color: #EFDECE;
}

.button-my {
    color: #EFDECE !important;
    padding: 0.6vw 1vw 0.6vw 1vw;
    background-color: #BB1732;
    max-width: 3vw;
    text-align: center;
    font-size: clamp(20px, 1.3vw, 1.9rem);
    font-weight: 300;
}

.button-blue {
    background-color: #212449 !important;
}

.products {
    display: flex;
    max-width: 2560px;
    justify-content: center;
    margin: 0 auto;
    gap: 3vw;
    padding: 3vw 6vw 3vw 6vw;
}

.products-page .products-category {
    width: 50%;
}

.products-page .products-category .products-category-text {
    margin-top: 13%;
}


.products-category {
    display: flex;
    width: 32%;
}

.products-category a {
    width: 100%;
}

.products-category a img {
    width: 100%;
}

.products-category-text {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    position: absolute;
    margin-left: 3%;
    margin-top: 27%;
}

.products-category-text h3 {
    color: #EFDECE;
}

.zoom-effect {
  transition: transform 0.5s ease;
}

.zoom-effect:hover {
  transform: scale(0.98);
}

.meet-beauty-box {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    margin-top: -3%;
    margin-left: 50%;
    width: 35%;
    gap: 1.5vw;
    color: #1B1D36;
    background-color: #EFDECE;
    padding: 4%;

}

.meet-beauty-box h3 {
    font-weight: 700;
}

.meet-beauty-box p {
        line-height: 160%;
    letter-spacing: 0.03em;
}

.hanzi-print {
    position: absolute !important;
    width: 6vw !important;
    margin-top: 30%;
    margin-left: 83%;
}

.title-ss {
    padding-top: 6vw;
    font-weight: 700;
    color: #BB1732;
}

.title-center {
    text-align: center;
        padding-top: 3vw;
    font-weight: 700;
    color: #BB1732;
}

.title-left {
    margin-left: 6vw;
}

.skincare-lines {
    display: flex;
    justify-content: space-around;
    padding: 3vw 6vw 3vw 6vw;
    gap: 4vw;
    color: #1B1D36;
}

.skincare-lines img {
    flex: 1 0 0;
    width: 45%;
    height: intrinsic;
}

.skincare-lines-box {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    justify-content: space-between;
    width: 50%;
}

.skincare-lines-box h3 {
    padding-bottom: 2%;
}

.skincare-lines-box p {
    padding-left: 0.5%;
}

.about-box p {
    padding: 3% 0 0 6%;
}

.skincare-lines-box-products {
    display: flex;
    justify-content: space-around;
}

.skincare-lines-box-products div {
    
    width: 45%;
}

.product-card-text {
    font-size: clamp(20px, 1.8vw, 2.2rem);
    color: #1B1D36;
    text-align: center;
}

.product-card img {
    width: 100%;
}

.skincare-lines-box-button {
    margin: 0 auto;
    padding: 0.6vw 0 0.6vw 0;
}

.products-box-button {
    padding: 0.6vw 0 0.6vw 0;
}

.footer-my {
  bottom: 0;
  background-image: url("https://static.tildacdn.com/tild3733-3964-4065-a538-636365613934/footer_picture.jpg");
  background-size: cover;

}

.footer__container {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 5vw 0 5vw 0;
  gap: 1vw;
}

.footer__line {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
  z-index: 2000;
  padding-left: 0 !important;
  font-size: 16px;
  letter-spacing: 1px;
  gap: 0.8vw;
  margin: 0;
  color: white;
  font-family: Trajan Pro 3;
}

.footer__line li {
  list-style: none;
}

.footer__line li a {
  color: #EFDECE !important;
  text-decoration: none;
}
.footer__line li:nth-child(0) {
  padding-right: 2%;
  padding-bottom: 2%;
}

.footer__logo {
  width: 20vw;
  padding-bottom: 2vw;
}

.footer__rights {
  color: #EFDECE;
  padding: 0 1% 0 1%;
}

.footer__rights__line {
  display: flex;
  border-top: #EFDECE solid 1px;
}

.footer__rights__text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.6% 0 0.6% 0;
}

.red-box {
    background-color: #BB1732;
}

.red-box h2 {
    text-align: center;
    padding: 2%;
    color: #EFDECE;
}

.buttons {
    display: flex;
    gap: 1vw;
    max-width: 1920px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2vw 0 0 0;
}

/*.products-wrapper {
    display: flex;
    gap: 3vw;
    padding: 0 6vw 0 6vw;
}*/
.products-wrapper {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      padding: 0 10vw 2vw 10vw;
      margin: 0 auto;
      gap: 3vw;
}

/*.product-card img {
    width: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: unset;
  width: 20%;
  gap: 1vw;
} */

.product-text-box {
    padding: 4vw 6vw 0 6vw;
}

.product-text-box h3 {
    color: #BB1732;
}

.product-text-box p {
    color: #1B1D36;
    padding: 1vw 0 2vw 0;
    max-width: 1500px;
    padding-left: 1%;
}

/*.circles {
  display: flex;
    justify-content: center;
  align-items: center;
  gap: 0.5vw;

}

.circle {
  width: 1.8vw;
  height: 1.8vw;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
}
*/

/*.product-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: unset;
  width: 20%;
  gap: 1vw;
}

.circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5vw;
}

.circle {
  width: 1.8vw;
  height: 1.8vw;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  display: none;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.product-card img.active {
  display: block;
  opacity: 1;
}

.product-card .image-container {
  position: relative;
}

.product-svg::after {
  content: url('https://static.tildacdn.com/tild6532-6337-4666-b866-656239636632/product_element.svg');
  position: absolute;
  top: calc(100% + 10px); /
  left: 50%;
  transform: translateX(-50%);
}*/

.product-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: unset;
  width: 20%;
  position: relative;
}

.image-container {
  position: relative;
  width: 100%; /* Контейнер изображений занимает всю ширину родителя */
}

.image-container::after {
  content: '';
  display: block;
  background-image: url('https://static.tildacdn.com/tild3330-3935-4134-a563-323065613635/song_line.svg');
  background-size: contain; /* Масштабируем изображение с сохранением пропорций */
  background-repeat: no-repeat;
  background-position: center;
  padding-bottom: 8.25%;
  width: 100%;
  margin: 1vw 0;
}

.circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5vw;
  padding-top: .6vw;
}

.circle {
  width: 1.8vw;
  height: 1.8vw;
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.image-container img {
  width: 100%;
  display: none;
  object-fit: cover;
  transition: all 1s ease-out;
}

.image-container img.active {
  display: block;
  opacity: 1;
}

.perfumery-page {
    padding-bottom: 0;
    padding-top: 0;
}


.perfumery-page .skincare-lines-box {
    width: 50%;
}

.perfumery-page .skincare-lines-box {
    align-self: center;
}

.perfumery-page .skincare-lines-box h3 {
    color: #BB1732;
}

.perfumery-page {
    max-width: 1920px;
    margin: 0 auto;
}

.perfumery-page .skincare-lines-box-text {
    padding: 0 2vw;
}

.perfumery-page .skincare-lines-box-text p {
    padding: 0 0 2% 0;
}

.perfumery-page .skincare-lines-box-text p:first-of-type {
    font-weight: 600;
}

.perfumery-banner {
    padding: 2vw 0;
}

.skincare-video__wrapper {
    display: flex;
    gap: 2vw;
}

.product-page__wrapper {
    display: flex;
    flex-direction: row;
    gap: 2vw;
    padding: 4vw 6vw;
}

.product-page {
    width: 50%;
}

.product-page__text {
    display: flex;
    flex-direction: column;
    color: #1B1D36;
    text-align: center;
    padding: 0 3vw 0 3vw;
    margin: auto;
    
}

.product-page__text__title h1 {
    text-transform: uppercase;
    color: #BB1732;
}

.product-page__text__title h2 {
    color: #1B1D36;
}

.product-page__text__main:before {
    content: "";
    display: block;
    width: 70%;
    padding-top: calc(60% / (640 / 48));
    background-image: url('https://static.tildacdn.com/tild3330-3935-4134-a563-323065613635/song_line.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 1.6rem auto 2rem;
}

.product-page__text__main {
    padding-bottom: 2rem;
}

.product-page__text__main p {
    padding-bottom: 1rem;
}

.product-page__text__main h2 {
    padding-bottom: 1.2rem;
}

.product-page__text__main p:last-child {
    padding-bottom: 0;
}

.product-page__text__notes p {
    padding-bottom: 1rem;
}

.product-page__text__notes p:last-child {
    padding-bottom: 0;
}

.product-page__text__notes p span {
    font-weight: 400;
}

.slick-slider {
  width: 50%;
  margin-right: auto;
  margin-left: auto;
  background-color: transparent;
}

.slick-slider img {
  width: 100%;
  /*height: auto;*/
  max-width: none;
  /*object-fit: cover;*/
}

.slick-prev, .slick-next {
  font-size: 24px;
  color: #000;
  background-color: transparent;
}

.slick-prev {
  left: 2%;
  z-index: 1
}

.slick-next {
  right: 2%;
}

.slick-dots {
  bottom: 1%;
  padding-left: 0 !important;
  width: 95%;
}

.slick-dots li.slick-active button:before {
    color: white !important;
}

.slick-dots li button:before {
    color: white !important;
}

    .prev,
.next {
  position: absolute;
  top: 50%;
  z-index: 1;
  cursor: pointer;
}

.next {
  right: 0;
}

    .max-width {
    margin: 0 auto;
    }

.big-text-wrapper {
    text-align: center;
}



@media (max-width: 960px) {
    .item-1 {
    order: 1;
    }

    .item-2 {
    order: 0;
    }
    
    .products {
        flex-direction: column;
        width: 90%;
        padding: 6vw 0 6vw 0;
    }
    
    .products-category {
        width: 100%;
    }
    
    .button-my {
        padding: 2vw 4vw 2vw 4vw;
    }
    
    .products-category-text {
        gap: 5vw;
        margin-left: 8%;
        margin-top: 40%;
    }
    
    .dive-into-box {
        margin-left: 0;
        width: 90%;
        padding: 10% 10% 10% 10%;
        order: 1;
        position: relative;
        background-color: #1B1D36;
        gap: 6vw;
    }
    
    .dive-into {
        flex-direction: column;
        overflow: hidden;
    }
    
    .dive-into img {
        width: 400%;
        margin-left: 220%;
                overflow: hidden;
    }
    
    .skincare-lines {
        flex-direction: column;
        gap: 6vw;
        padding: 4vw 6vw 10vw 6vw;
    }
    
    .skincare-lines img {
        width: unset;
    }
    
    .product-card img {
        width: 100%;
    }
    
    .meet-beauty-box {
        width: 70%;
        margin-left: 0;
        padding: 10%;
        margin-top: 18%;
    }
    
    .meet-beauty-box h3 {
        max-width: 260px;
    }
    
    .hanzi-print {
        margin-left: 68% !important;
        margin-top: -27%;
        width: 13vw !important;
    }
    
    .title-ss {
        padding-top: 10vw;
        max-width: 285px;
    }
    
    .title-center {
        padding-top: 10vw;
    }
    
    .footer-my {
          background-position: right bottom;
    }
    
    .footer__line {
        flex-direction: column;
        gap: 2.6vw;
    }
    
    .footer__logo {
        width: 55vw;
        padding-bottom: 4vw;
    }
    
    .footer__container {
        gap: 6vw;
        padding: 20vw 0 18vw 0;
    }
    
    .footer__rights {
        padding: 0 3% 0 3%;
    }
    
    .footer__rights__text {
        padding: 2.5% 0 2.5% 0;
    }
    
    .red-box h2 {
    padding: 4% 15% 4% 15%;
    }
    
    .buttons {
        gap: 2vw;
        padding: 5vw 0 10vw 0;
    }
    
    .product-card  {
        width: 47%;
        padding-bottom: 5%;
    }
    
    .products-wrapper {
        padding: 0;
        width: 90vw;
        gap: 4vw;
    }
    
    .skincare-lines-box {
        width: 100%;
        gap: 10vw;
    }
    
    .skincare-lines-box-products {
        flex-direction: column;
    }
    
    .skincare-lines-box-products div {
        width: 80%;
        margin: 0 auto;
    }
    
    .about-box p {
        padding: 0;
    }
    
    .about-banner img {
        width: 210%;
        margin-left: 10%;
    }
    
    .products-page .products-category {
        width: 100%;
    }
    
    .products-category a img {
        object-fit: cover;
        height: 40vh;
    }
    
    .products-page .products-category .products-category-text {
        margin-top: 40%;
    }
    
    .circle {
        width: 4.8vw;
        height: 4.8vw;
    }
    
    .circles {
        gap: 1.5vw;
    }
    
    .product-text-box {
        padding: 15vw 6vw 0 6vw;
    }
    
    .perfumery-banner img {
        width: 150%;
        margin-left: 20%;
    }
    
    .perfumery-page .skincare-lines-box {
        width: 100%;
    }
    
    .skincare-lines-box h3 {
        padding-bottom: 4%;
    }
    
    .perfumery-page .skincare-lines-box-text p {
        padding: 0 0 4% 0;
    }
    
    .perfumery-page-right .skincare-lines-box {
        order: 1;
    }
    
    .perfumery-page-right img {
        order: 0;
    }
    
    .product-page__wrapper {
        flex-direction: column;
    }
    
    .product-page {
            width: 100%;
            margin: 0 auto;
        }
        
    
    .product-page__text {
        padding: 6vw 0 0 0;
            width: 90%;
        }
    
    .product-page__wrapper {
        padding: 0;
    }



}

