/*Header*/

body, header {
    background-color: #F1F4F7!important;
}

body {
 font-family: 'Montserrat', sans-serif;

}

a{
    text-decoration: none!important;
}


p{
    margin-top: 20px;
}

/* Ефект ховер на меню*/

#menu-live-menyu li a,
#menu-prave-menyu li a,
#menu-left-menu li a,
#menu-right-menu li a,
.cart-header {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  line-height: 1.2;
  height: 1.2em; /* висота одного рядка */
}

#menu-live-menyu li a .text-slide,
#menu-prave-menyu li a .text-slide,
#menu-left-menu li a .text-slide,
#menu-right-menu li a .text-slide,
.cart-header .text-slide {
  display: block;
  transition: transform 0.8s ease;
}

#menu-live-menyu li a:hover .text-slide,
#menu-prave-menyu li a:hover .text-slide,
#menu-left-menu li a:hover .text-slide,
#menu-right-menu li a:hover .text-slide,
.cart-header:hover .text-slide {
  transform: translateY(-100%);
}

.wpml-ls-link {
    text-decoration: none;
    display: inline-flex;
    overflow: hidden;
    position: relative;
    top: 2px;
}

.wpml-ls-link .text-wrapper {
    display: flex;
    flex-direction: column;
    height: 14px; /* Приклад, налаштуйте відповідно до font-size */
    overflow: hidden;
    line-height: 14px; /* Повинно відповідати висоті */
}

.wpml-ls-link .text-slide {
    display: block;
    transition: transform 0.8s ease;
}

.wpml-ls-link:hover .text-slide {
    transform: translateY(-100%);
}

.site-header {
    background-color: #F1F4F7!important;
    /*padding: 10px 20px;*/
    border-bottom: 1px solid #040E1B1A;
    position: relative;
    z-index: 1000;
    padding-top: 24.50px;
    padding-bottom: 24.50px;
}

@media (max-width: 766px) {
    .site-header {
        padding: 10px 20px;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1360px;
    margin: 0 auto;
    position: relative;
}

.header-menu {
    display: flex;
    gap: 20px;
}

.left-menu {
    order: 1;
}

.left-menu li, .right-menu li {
display: inline-block;
margin-right: 16px;
text-transform: uppercase;
font-weight: 700;
font-size: 14px;
line-height: 101%;
letter-spacing: -4%;
text-transform: uppercase;
}

.mobile-menu li {
text-transform: uppercase;
font-weight: 700;
font-size: 14px;
line-height: 101%;
letter-spacing: -4%;
text-transform: uppercase;
}

.left-menu li a, .right-menu li a, .mobile-menu li a {
    color: #040E1B;
    text-decoration: none;
}

.header-logo {
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999999;
}

.logo-img{
    position: relative;
    z-index: 999999999;
}

@media (min-width: 1260px) {
.right-menu {
    order: 3;
    position: relative;
    left: 380px;
}
}

@media (min-width: 766px) and (max-width: 1280px)  {
.right-menu {
    order: 3;
    position: relative;
    left: 180px;
}
}

.wpml-container{
    order: 4;
    position: relative;
    left: 120px;
}

@media (min-width: 766px) and (max-width: 1280px)  {
.wpml-container{
    order: 4;
    position: relative;
    left: 40px;
}
}

@media (max-width: 766px) {
    .wpml-container {
        display: none;
    }
}

/* Стиль для тексту мов */
.wpml-ls-native {
    font-weight: 700;
    font-size: 14px;
    line-height: 101%;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

/* Горизонтальний відступ між мовами */
.wpml-ls-legacy-list-horizontal ul li {
    margin-right: -12px!important;
}
.wpml-ls-legacy-list-horizontal ul li:last-child {
    margin-right: 0!important;
}

/* Неактивна мова з прозорістю */
.wpml-ls-item:not(.wpml-ls-current-language) .wpml-ls-link {
    opacity: 0.2;
}

.cart-header2{
    order: 5;
font-weight: 700;
font-size: 14px;
line-height: 20px;
letter-spacing: -3%;
text-transform: uppercase;
text-decoration: none;
color: #040E1B;
position: relative;
}

@media (max-width: 768px) {
    .cart-header2{
        font-size: 13px;
    }
}

.cart-header2:hover{
text-decoration: none;
}

.cart-count{
   /* position: absolute;
    bottom: 0;
    right: 0;*
    background-color: rgba(214, 215, 216, 0.5);
    padding: 2.5px 6.5px;
    border-radius: 3px;
    z-index: 5;*/
}

@media (max-width: 768px) {
.cart-icon{
width: 32px;
height: 32px;
}
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    order: 0;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 9999;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.mobile-menu-list li {
    margin-bottom: 10px;
}

.mobile-wmpl{
    display: flex;
    justify-content: center;
    margin-top: -16px;
}

@media (max-width: 768px) {
    .left-menu,
    .right-menu {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .header-logo {
        position: relative;
        transform: none;
        margin: 0 auto;
        order: 1;
        max-width: 151px;
        left: 16px;
    }
    .header-inner {
        justify-content: center;
    }
}

.mobile-menu.open {
    display: block;
    position: relative;
    top: 8px;
    width: 100%;
    
}

/* Body*/

@media (min-width: 766px) {
.mar-40{
    margin-top: 40px;
}
}

@media (max-width: 766px) {
.mar-40{
    margin-top: 30px;
}
}

.mar-160{
    margin-top: 160px;
}

@media (max-width: 766px) {
.mar-160{
    margin-top: 96px;
}
}

.row{
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

@media (max-width: 1360px) {
    .row{
        padding-left: 8px;
        padding-right: 8px;
    }
}

h1{
font-weight: 500;
font-size: 112px;
line-height: 81%;
letter-spacing: -4px;
color: #040E1B;
}

@media (max-width: 766px) {
h1{
   font-size: 50px; 
   line-height: 50px;
}
}

h2{
font-weight: 500;
font-size: 112px;
line-height: 81%;
letter-spacing: -4%;
color: #040E1B;
}

@media (max-width: 766px) {
h2{
   font-size: 40px; 
}
}


/* Перша секція*/

/*Незвичайні відступи десктоп */

@media (min-width: 766px) {

.first-container{
position: relative;
padding-top: 340px;
padding-bottom: 110px;
z-index: 5;
}

.second-line{
    padding-left: 350px;
}

.third-line{
    padding-left: 756px;
}
}

/*Незвичайні відступи мобайл */

@media (max-width: 766px) {

.first-container{
position: relative;
padding-bottom: 1500px;
}

.second-line{
    padding-left: 28px;
}

.third-line{
    padding-left: 184px;
}
}

/* Оновлені стилі */

.first-container > h1 {
    position: relative;
    z-index: 2; /* Піднімаємо заголовок над зображеннями */
}

.right{
    text-align: right;
}

.image-description{
    font-weight: 700;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -6%;
    color: #040E1B;
}

@media (max-width: 766px) {
.image-description{
font-weight: 600;
}
}

.image-block{
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform-origin: center;
    position: absolute; /* Залишаємо позиціонування, щоб можна було рухати елементи */
    z-index: 1; /* Змінюємо z-index на додатнє значення */
     transition: transform 0.4s ease, filter 0.4s ease;
}

.image-block:hover {
    transform: rotate(-9deg) scale(1.32);
    z-index: 10;
    filter: blur(0);
}

.is-blurred {
    filter: blur(5px);
    transition: filter 0.4s ease;
}


/* положення картин десктоп */

@media (min-width: 766px) {

.image-block1{
    top: 0px;
    left: 0px;
    max-width: 297px;
}

.image-block2{
    top: 92px;
    left: 345px;
     max-width: 150px;
}

.image-block3{
    top: 72px;
    right: 445px;
    max-width: 255px;
}

.image-block4{
    top: 17px;
    right: 0;
    max-width: 297px;
}

.image-block5{
    top: 500px;
    left: 0;
    z-index: 99;
    max-width: 267px;
}

.image-block6{
    top: 710px;
    left: 460px;
    max-width: 189px;
}

.image-block7{
    top: 335px;
    right: 60px;
    max-width: 189px;
    z-index: 99;
}

.image-block8{
    bottom: 0;
    right: 0;
    max-width: 89px;
}
}

/* положення картин мобайл */

@media (max-width: 766px) {

.image-block3{
    position: absolute;
    top: 220px;
    left: 12%;
    z-index: -1;
    max-width: 220px;
}

.image-block1{
    position: absolute;
    top: 570px;
    left: 0;
    z-index: -1;
    max-width: 200px;
}

.image-block2{
    position: absolute;
    top: 730px;
    right: 0;
    z-index: -1;
    max-width: 200px;
}

.image-block7{
    position: absolute;
    top: 937px;
    left: 0;
    z-index: -1;
}

.image-block8{
    position: absolute;
    top: 1014px;
    right: 60px;
    z-index: -1;
    max-width: 200px;
}

.image-block4{
    position: absolute;
    top: 1201px;
    right: 0;
    z-index: -1;
    max-width: 200px;
}

.image-block6{
    position: absolute;
    top: 1402px;
    right: 0;
    z-index: -1;
    max-width: 200px;
}

.image-block5{
    position: absolute;
    top: 1460px;
    left: 0;
    z-index: -1;
    max-width: 200px;
}

.image-block5 img{
    max-width: 150px;
}

}

.down{
font-weight: 500;
font-size: 14px;
letter-spacing: -6%;
color: #040E1B;
opacity: 20%;
position: absolute;
left: 0;
bottom: -17px;
display: none;
}

@media (max-width: 766px) {
    .down{
        display: none;
    }
}


/* 2 секція*/


.about-us{
margin-top: 93px;
font-weight: 700;
font-size: 14px;
line-height: 101%;
letter-spacing: -4%;
text-transform: uppercase;
}

@media (max-width: 766px) {
.about-us{
margin-top: 30px;
font-size: 13px;
text-indent: 78px;
    }
}

.gallery-description{
font-weight: 600;
font-size: 52px;
line-height: 120%;
text-indent: 339px;
letter-spacing: -1px;
color: #040E1B;
}

@media (max-width: 766px) {
.gallery-description{
font-size: 22px;
text-indent: 78px;
margin-top: 20px;
margin-bottom: 30px;
    }
}

@media (min-width: 766px) {
.gallery-description{
position: relative;
top: -24px;
    }
}

.outer-flex-section{
    display: flex;
    gap: 315px;
    margin-top: 40px;
}

@media (max-width: 766px) {
.outer-flex-section{
flex-direction: column;
gap: 30px;
    }
}

.inner-row{
    display: flex;
    gap: 60px;
}

@media (max-width: 766px) {
.inner-row{
flex-direction: column;
gap: 0;
    }
}

.inner-item{
    flex: 1;
}

@media (max-width: 766px) {
.inner-item{
padding-top: 16px;
padding-bottom: 16px;
    }
}

@media (max-width: 766px) {
.border-botom-mobile{
    border-bottom: 1px solid #040E1B1C;
}
}

.inner-text{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
margin-top: 12px;
color:  #040E1B;
}

@media (min-width: 766px) {
.row-top{
    padding-bottom: 40px;
    border-bottom: 2px solid #040E1B12;
}

.row-bottom{
    padding-top: 40px;
}
}

.site-button {
  margin-top: 80px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: white;
  background-color: #040E1B;
  width: 100%;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding-top: 24.5px;
  padding-bottom: 24.5px;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

@media (max-width: 766px) {
  .site-button {
    margin-top: 30px;
  }
}

.site-button:hover {
  text-decoration: none;
}

.text-wrapper {
  display: flex;
  flex-direction: column;
  height: 20px; 
  overflow: hidden;
  line-height: 20px;
}

.text-slide {
  display: block;
  transition: transform 0.8s ease;
}

.site-button:hover .text-slide {
  transform: translateY(-100%);
}

.arrow {
  position: absolute;
  width: 14px; 
}

.arrow-bottom-left {
  left: 5px;
  bottom: 5px;
}

.arrow-top-right {
  right: 5px;
  top: 5px;
}

/* 3 Секція*/

.third-container{
    padding-bottom: 160px;
}

@media (max-width: 766px) {
.third-container{
padding-bottom: 96px;
}
}

.subtitle{
    text-align: center;
}

.slider-container {
    margin-top: 80px;
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
}

@media (max-width: 766px) {
.slider-container{
flex-direction: column;
margin-top: 40px;
}
}

/* Центрування стрілок і анімації */
.navigation-part {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стрілки розташовані зліва і справа */
.navigation-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
    /*padding: 0 20px;*/
    align-items: center;
}

@media (max-width: 766px) {
.navigation-container{
width: 100vw;
padding-left: 8px;
padding-right: 8px;
}
}

.navigation-arrow {
    font-weight: 700;
    font-size: 14px;
    line-height: 101%;
    letter-spacing: -2%;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    color: #040E1B;
}

.navigation-arrow .text-wrapper {
    display: flex;
    flex-direction: column;
    height: 20px; /* висота одного рядка */
    overflow: hidden;
    line-height: 20px;
}

.navigation-arrow .text-slide {
    display: block;
    transition: transform 0.8s ease;
}

@media (min-width: 767px) {
    .navigation-arrow:hover .text-slide {
        transform: translateY(-100%);
    }
}

.navigation-arrow-prev::before {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url('/wp-content/uploads/2025/07/arrow-left.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 2px;
    vertical-align: middle;
}

.navigation-arrow-next::after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url('/wp-content/uploads/2025/07/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 2px;
    vertical-align: middle;
}



.center-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(317px + 52px + 4px * 2); /* ширина картинки + розмір тексту + відступи */
    height: calc(366px + 52px + 4px * 2); /* висота картинки + розмір тексту + відступи */
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 766px) {
.center-animation{
display: none;
}
}

/* Картинка по центру */

.animation-image {
    width: 317px;
    height: 366px;
    z-index: 1;
}

@media (max-width: 1345px) {
.animation-image{
    width: 150px;
    height: auto;
}
}

/* Базові стилі для тексту */
.word {
    position: absolute;
    font-weight: 500;
    font-size: 52px;
    line-height: 1;
    white-space: nowrap;
    z-index: 2;
    color:  #3F4B5B; /* або колір за бажанням */
}

@media (max-width: 1345px) {
.word{
font-size: 30px;
}
}


.word.top {
    top: calc(50% - 366px / 2 - 52px - 4px);
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 1345px) {
.word.top {
top: calc(50% - 150px / 2 - 52px - 4px);
}
}

.word.bottom {
    bottom: calc(50% - 366px / 2 - 52px - 4px);
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 1345px) {
.word.bottom {
bottom: calc(50% - 150px / 2 - 52px - 4px);
}
}

.word.left {
    left: calc(50% - 317px / 2 - 28px - 4px);
    top: 50%;
    transform: translateY(-50%) translateX(-50%) rotate(-90deg);
    transform-origin: center;
}

@media (max-width: 1345px) {
.word.left {
left: calc(50% - 150px / 2 - 28px - 4px);
}
}

.word.right {
    left: calc(50% + 317px / 2 + 4px + 28px);
    top: 50%;
    transform: translateY(-50%) translateX(-50%) rotate(90deg);
    transform-origin: center;
}

@media (max-width: 1345px) {
.word.right {
left: calc(50% + 150px / 2 + 4px + 28px);
}
}  



.robota-help{
    max-width: 270px;
    position: absolute;
    bottom: -130px;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -3%;
    text-align: center;
    color:  #040E1B;
}

.robota-help-mobile{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
text-align: center;
max-width: 270px;
margin-top: 20px;
color:  #040E1B;
}

@media (min-width: 766px) {
.robota-help-mobile{
display: none;
}
}


@media (max-width: 1220px) {
.robota-help  {
bottom: -30px;
}
}

/* Слайдер*/

.slide-image {
  width: 640px;
  height: 700px;
  overflow: hidden;
}

@media (min-width: 766px) and (max-width: 1220px) {
.slide-image  {
width: 450px;
}
}

@media (max-width: 766px) {
.slide-image  {
width: 245px;
max-height: 268px;
}
}

.slide-image img {
  width: 100%;
  height: auto;
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide-image img.active {
  display: block;
  opacity: 1;
}

/* 4 Секція*/

.fourth-container{
    padding-top: 160px;
    border-top: 2px solid #040E1B12;
    margin-bottom: 160px;
}

@media (max-width: 766px) {
.fourth-container {
padding-top: 96px;
margin-left: -8px;
margin-right: -8px;
margin-bottom: 96px;
}
}

.woocommerce-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: left;
    margin-top: 80px;
}

@media (max-width: 766px) {
.woocommerce-product-grid {
margin-top: 40px;
}
}

@media (min-width: 766px) {
.product-item {
    flex: 1 1 calc(25% - 20px);
    box-sizing: border-box;
    text-align: left;
    max-width: 325px;
}
}

.product-item img {
    width: 100%;
    max-width: 325px;
    height: 356px;
    display: block;
}


@media (max-width: 766px) {
.product-item img{
    width: 100%;
    max-width: 450px;
    height: auto;
}
}

.product-image-wrapper {
    width: 100%;
    height: 356px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 766px) {
    .product-image-wrapper {
        height: auto;
    }
}

.has-rama .product-image-wrapper img {
    width: 150%; 
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    transform: scale(2) translateY(30px) translateX(5px);
    display: block;
}

.has-rama:hover .product-image-wrapper img {
    transform: scale(1);
}

/**/

.product-item a, .product-item a:hover  {
    text-decoration: none;
    color: inherit;
}

.product-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.03em;
    color: #040E1B;
    margin-top: 10px;
}

.price {
    display: block;
    margin-top: 10px;
    color: #040E1B;
    font-weight: 700;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.03em;
}

.product-author{
font-weight: 600;
font-size: 14px;
line-height: 130%;
letter-spacing: -3%;
color: #040E1B;
padding: 8px;
background-color: #04010D0A;
border-radius: 4px;
display: inline-flex;
margin-top: 16px;
}

@media (max-width: 1024px) {
    .product-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .product-item {
        flex: 1 1 100%;
    }
}

/* кнопки сортування */

.product-sorting-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

@media (max-width: 766px) {
    .product-sorting-buttons {
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: left;
    }

    .sorting-button {
        flex: 0 0 auto; 
    }
}

.sorting-button {
font-weight: 700;
font-size: 14px;
line-height: 101%;
letter-spacing: -4%;
text-transform: uppercase;
padding: 17px 24px;
background-color: #E6E8EA;
border-radius: 4px;
text-decoration: none;
color: #040E1B;
}

.sorting-button:hover,
.sorting-button.active {
    background-color: #040E1B;
    color: #F1F4F7;
    text-decoration: none;
}

/* 5 секція */

.fifth-container{
    padding-top: 160px;
    border-top: 2px solid #040E1B12;
    margin-bottom: 160px;
}

@media (max-width: 766px) {
    .fifth-container {
        padding-top: 0px;
        border: none;
        margin-bottom: 96px;
    }
}

@media (min-width: 1360px) {
.second-line-a{
    padding-left: 300px;
}
}

.title-container{
    position: relative;
}

@media (min-width: 766px) {
.right-part{
    position: absolute;
    bottom: 0;
    right: 0;
}
}

@media (max-width: 766px) {
.right-part{
 margin-top: 40px;
}
}

.say{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
text-align: right;
color: #040E1B;
}

@media (max-width: 766px) {
.say{
text-align: left;
margin-left: 18%;
margin-right: 18%;
}
}

.mytec-container{
margin-top: 56px;
text-align: right;
}

@media (max-width: 766px) {
.mytec-container{
text-align: center;
margin-top: 20px;
}
}

.mytec{
font-weight: 700;
font-size: 14px;
line-height: 101%;
letter-spacing: -4%;
text-transform: uppercase;
text-align: right;
text-decoration: none;
 display: inline-flex; /* Додаємо, щоб .text-wrapper і ::after вирівнювалися */
 align-items: center;
overflow: hidden; 
color: #040E1B;
}

.mytec:hover{
text-decoration: none;
}

.mytec::after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url('/wp-content/uploads/2025/07/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 2px;
    margin-top: -2px;
    vertical-align: middle;
}

.text-wrapper {
    display: flex;
    flex-direction: column;
    height: 15px; /* Встановіть висоту, що відповідає висоті рядка вашого тексту */
    overflow: hidden;
    line-height: 15px;
}

.text-slide {
    display: block;
    transition: transform 0.8s ease; 
}

.mytec:hover .text-slide {
    transform: translateY(-100%);
}


.special-heading{
font-weight: 500;
font-size: 112px;
line-height: 81%;
letter-spacing: -4%;
color: #040E1B;
}

@media (max-width: 766px) {
.special-heading{
   font-size: 40px;
   letter-spacing: -2%;
}
}

/* Карусель митців*/

.carousel-container {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  height: 360px;
  position: relative;
  margin-top: 70px;
  gap: 20px;
}

@media (max-width: 766px) {
.carousel-container{
   margin-top: 40px;
   height: 227px;
}
}

.carousel-track {
  display: flex;
  animation: scroll 120s linear infinite;
}

.carousel-item {
  display: flex;
  transform: rotate(-180deg);
  transform-origin: center center;
  white-space: nowrap;
  writing-mode: vertical-lr;
  margin-right: 20px;
  justify-content: center;
}

.carousel-item:hover .name, .carousel-item:hover .author{
    opacity: 20%;
    cursor: pointer;
}

.name {
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.03em;
  color: #040E1B;
}

.author {
  font-weight: 500;
  font-size: 64px;
  line-height: 81%;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: visible;
  color: #040E1B;
}

@media (max-width: 766px) {
.author{
  font-size: 34px;
}
}


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Footer*/

.footer{
    background-color: #040E1B;
}

.footer-top{
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 766px) {
.footer-top{
   flex-direction: column;
   justify-content: left;
   gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}
}

.top-footer-title{
font-weight: 500;
font-size: 26px;
line-height: 100%;
letter-spacing: -4%;
color: #F1F4F7;
}

@media (min-width: 766px) {
.top-footer-title{
  max-width: 300px;
}
}

@media (max-width: 766px) {
.top-footer-title{
   font-weight: 500;
   font-size: 16px;
   text-transform: none;
   text-align: center;
}
}

.top-footer-button-container{
    display: flex;
    gap: 8px;
    align-items: start;
}


.phone-button {
  font-weight: 700;
  font-size: 14px;
  line-height: 110%;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  padding: 16px 32px;
  background-color: #252e3a;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

/* Іконка */
.phone-button::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url('https://uniquewall.gallery/wp-content/uploads/2025/07/phone.svg');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
  flex-shrink: 0;
  vertical-align: middle;
}

@media (max-width: 766px) {
  .phone-button::before {
    width: 18px;
  height: 18px;
  }
}




/* Анімація тексту */
.phone-button .text-wrapper {
  display: flex;
  flex-direction: column;
  height: 17px;
  overflow: hidden;
  line-height: 17px;
}

.phone-button .text-slide {
  display: block;
  transition: transform 1s ease;
}

.phone-button:hover .text-slide {
  transform: translateY(-100%);
}

/* Сховати текст на мобільних */
@media (max-width: 766px) {
  .desktop {
    display: none!important;
  }

  .phone-button {
    padding: 16px 21px;
  }

  .phone-button::before {
    margin-right: 0;
  }
}

.site-button-white {
  font-weight: 700;
  font-size: 14px;
  line-height: 110%;
  letter-spacing: -4%;
  text-transform: uppercase;
  padding: 16px 32px;
  background-color: #F1F4F7;
  color: #040E1B;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
    cursor: pointer;
}

@media (max-width: 766px) {
  .site-button-white {
    width: 100%;
  }
}

.phone-button:hover,
.site-button-white:hover {
  text-decoration: none;
}

/* === Анімація тексту === */
.site-button-white .text-wrapper {
  display: flex;
  flex-direction: column;
  height: 16px; /* або фактична висота тексту */
  overflow: hidden;
  line-height: 16px;
}

.site-button-white .text-slide {
  display: block;
  transition: transform 1s ease;
}

.site-button-white:hover .text-slide {
  transform: translateY(-100%);
}

.footer-middle{
    padding-top: 40px;
    padding-bottom: 100px;
    border-top: 1.5px solid #F1F4F733;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

@media (max-width: 766px) {
.footer-middle{
   flex-direction: column;
   justify-content: left;
   gap: 64px;
    padding-top: 20px;
   padding-bottom: 64px;
}
}


.footer-menu-container .nav {
    position: relative; /* щоб прокрутка span працювала */
    display: inline-flex; 
    flex-direction: column;
    align-items: flex-start; 
    overflow: hidden;
    height: 1em; /* висота одного рядка */
}

.footer-menu-container .nav .text-slide {
    display: block;
    transition: transform 0.8s ease;
}

/* ховер тільки для десктопу */
@media (min-width: 767px) {
    .footer-menu-container .nav:hover .text-slide {
        transform: translateY(-100%);
    }
}


.footer-menu-container{
    display: flex;
    gap: 8px;
    flex-direction: column;
    min-width: 150px;
}

.middle-left-container{
    display: flex;
    gap: 40px;
}

@media (max-width: 766px) {
.middle-left-container{
   gap: 30px;
}
}

.nav-title{
font-weight: 700;
font-size: 14px;
line-height: 101%;
letter-spacing: -2%;
text-transform: uppercase;
color:  #F1F4F733;
margin-bottom: 40px;
}

.nav{
font-weight: 700;
font-size: 14px;
line-height: 101%;
letter-spacing: -2%;
text-transform: uppercase;
color:  white;
text-decoration: none; 
}




.footer-bottom{
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
}

@media (max-width: 766px) {
.footer-bottom{
   flex-direction: column;
   justify-content: left;
   gap: 20px;
   padding-bottom: 20px;
}
}

.footer-bottom-left{
    display: flex;
    gap: 41px;
}

@media (max-width: 766px) {
.footer-bottom-left{
   gap: 18px;
}
}

.bottom-link{
font-weight: 500;
font-size: 14px;
line-height: 120%;
letter-spacing: -4%;
color:  #F1F4F733;
text-decoration: none; 
}

@media (max-width: 766px) {
.bottom-link{
   font-size: 12px;
}
}

.bottom-link:hover{
text-decoration: none; 
}



.footer-bottom-left .bottom-link {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    height: 1.2em; /* висота одного рядка */
}

.footer-bottom-left .bottom-link .text-slide {
    display: block;
    transition: transform 0.8s ease;
}

@media (min-width: 767px) {
    .footer-bottom-left .bottom-link:hover .text-slide {
        transform: translateY(-100%);
    }
}

.design{
font-weight: 200;
font-size: 14px;
line-height: 120%;
letter-spacing: -4%;
color:  #F1F4F733;
}

.komanda{
font-weight: 200;
font-size: 14px;
line-height: 120%;
letter-spacing: -4%;
color:  #F1F4F7;
}

.footer-bottom-right .komanda a {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    height: 1.2em; /* висота одного рядка */
}

.footer-bottom-right .komanda a .text-slide {
    display: block;
    transition: transform 0.8s ease;
}

@media (min-width: 767px) {
    .footer-bottom-right .komanda a:hover .text-slide {
        transform: translateY(-100%);
    }
}

/* Плаваючий футер*/

.floating-footer-top {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #040E1B;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-footer-top.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.floating-footer-top .footer-top{
    padding-top: 22px;
    padding-bottom: 22px;
}

/* Сторінка каталогу */

.product-container{
    margin-top: 80px;
    margin-bottom: 160px;
}

@media (max-width: 766px) {
    .product-container {
        margin-top: 30px;
        margin-bottom: 96px;
    }
}

.flex-goods{
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 766px) {
    .flex-goods {
        margin-top: 40px;
    }
}


.availibility {
    /* Оригінальні стилі */
    font-weight: 700;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -3%;
    text-transform: uppercase;

    /* Додаткові стилі для анімації */
    display: inline-flex;
    align-items: center;
    cursor: pointer; /* Змінюємо курсор, щоб показати, що це інтерактивний елемент */
    overflow: hidden;
}

@media (max-width: 766px) {
    .availibility {
        font-size: 14px;
        line-height: 1.3;
    }
}

/* Нові стилі для анімації */
.availibility .text-wrapper {
    display: flex;
    flex-direction: column;
    height: 20.8px; /* 16px * 1.3 = 20.8px */
    overflow: hidden;
    line-height: 20.8px;
}

@media (max-width: 766px) {
    .availibility .text-wrapper {
        height: 18.2px; /* 14px * 1.3 = 18.2px */
        line-height: 18.2px;
    }
}

.availibility .text-slide {
    display: block;
    transition: transform 0.8s ease;
}

@media (min-width: 766px) {
.availibility:hover .text-slide {
    transform: translateY(-100%);
}
}


@media (max-width: 766px) {
    .availibility-desktop {
        display: none;
    }
}

.filter{
    cursor: pointer;
}

@media (max-width: 766px) {
    .filter {
        margin-left: 14px;
    }
}

.filter::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 13px;
    background-image: url('/wp-content/uploads/2025/07/filtr.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 6px;
    vertical-align: middle;
}

.load-more-container{
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.load-more-trigger {
    /* Оригінальні стилі */
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -4%;
    text-transform: uppercase;
    cursor: pointer;
    /* Додаткові стилі для анімації */
    display: inline-flex;
    align-items: center;
    overflow: hidden;
}

.load-more-trigger::after {
    /* Оригінальні стилі для псевдоелемента */
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('/wp-content/uploads/2025/07/refresh.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 2px;
    vertical-align: middle;
}

/* Нові стилі для анімації "слайду" */
.load-more-trigger .text-wrapper {
    display: flex;
    flex-direction: column;
    height: 18.2px; /* Приблизна висота рядка для шрифту 14px */
    overflow: hidden;
    line-height: 18.2px;
}

.load-more-trigger .text-slide {
    display: block;
    transition: transform 0.8s ease;
}

.load-more-trigger:hover .text-slide {
    transform: translateY(-100%);
}

/* Попап фільтрів*/

.filter-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
    .filter-popup-overlay {
        justify-content: flex-end;
        padding-right: 40px; /* Відступ від правого краю */
    }
}

@media (max-width: 768px) {
    .filter-popup-overlay {
        justify-content: flex-start;
        padding-right: 8px; /* Відступ від правого краю */
    }
}

 .woof_lang_loading{
    display: none !important;
  }

.filter-popup-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center; 
}

.filter-popup {
    background: #F1F4F7;
    max-width: 371px;
    min-width: 339px;
    width: 90%;
    padding: 24px;
    border-radius: 4px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;

    /* Зробимо мобільну ширину майже 100% мінус 8px падінг зліва і справа */
    margin: 0 8px;
}

.filter-popup-content{
    position: relative;
}

@media (min-width: 768px) {
    .filter-popup{
       padding: 30px;
       width: 96%;
       margin: 0;
       min-width: 371px;
    }
}

@media (max-width: 768px) {
    .filter-popup{
    max-width: 300px;
    min-width: 300px;
    }
}

/* За замовчуванням приховаємо блоковий хрест */
.filter-popup-close-block {
    display: none;
}


/* На десктопі приховаємо кнопку і покажемо блок */
.filter-popup-close-block {
    background-color: #D0D4D8;
    color: #000;
    font-size: 24px;
    font-weight: bold;
    padding: 0 14px;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 0; /* по верхньому краю */
    border-radius: 4px;
    /* Мобільна — справа, щоб не виходила за межі */
    right: -40px;
    left: auto;
    /* Щоб не виходила за висоту попапа */
    max-height: 50%;
    transition: background-color 1s ease;
}

.filter-popup-close-block:hover {
background-color: #040E1B;
color: white;
}

@media (min-width: 768px) {
    .filter-popup-close-block {
        /* Десктоп — зліва, як було раніше */
        left: -38px;
        right: auto;
        padding: 0 8px;
    }
}

.filter-popup-title {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 20px;
}

.radio-option{
    margin-bottom: 12px;
}

#orderby-form label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.filter-popup h4{
    margin-bottom: 20px;
font-weight: 700;
font-size: 14px;
line-height: 130%;
letter-spacing: -3%;
text-transform: uppercase;
}

.woof_checkbox_label, .woof_authors label, .radio-option label{
font-weight: 600!important;
font-size: 16px!important;
line-height: 130%!important;
letter-spacing: -3%!important;
color: #040E1B!important;
}

.woof_container{
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #040E1B12;
}

.product-sorting-radio{
    padding-bottom: 20px;
    border-bottom: 1px solid #040E1B12;
}

.woof_price3_search_container{
    border-bottom: none!important;
}


.irs--square.irs-with-grid{
    margin-left: 20px;
  margin-right: 20px;
}

/* стилізація радіобатону*/

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #F1F4F7;
    border: 1.5px solid #000;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/*Стилізація радіобатонів*/

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #F1F4F7;
    border: 1.5px solid #000;
    width: 14px;
    height: 14px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin: 0;
    transition: all 0.2s ease;
}

input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: #000;
    transform: translate(-50%, -50%);
}

/* Сторінка товару*/

.single-product-container-outer{
    padding-top: 40px;
    padding-bottom: 160px;
}

@media (max-width: 768px) {
    .single-product-container-outer{
        padding-top: 30px;
        padding-bottom: 96px;
    }
}

.single-product-container{
    display: flex;
    gap: 20px;
    align-items: start;
}

@media (max-width: 768px) {
    .single-product-container {
        flex-direction: column;
    }
}


.single-product-author {
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -3%;
    color: #040E1B;
    padding: 8px;
    background-color: #04010D0A;
    border-radius: 4px;
    display: inline-flex;
}

/* Налаштування для посилань всередині контейнера */
.single-product-author a {
    text-decoration: none;
    position: relative; /* Необхідно для позиціонування */
    overflow: hidden; /* Обрізає текст, що виходить за межі */
    display: inline-flex; /* Дозволяє центрувати текст */
    align-items: center;
    line-height: 1.3; /* Забезпечуємо висоту рядка */
}

.single-product-author a:hover {
    text-decoration: none;
}

/* Нові стилі для анімації */
.single-product-author .text-wrapper {
    display: flex;
    flex-direction: column;
    height: 18.2px; /* 14px * 1.3 = 18.2px */
    overflow: hidden;
    line-height: 18.2px;
}

.single-product-author .text-slide {
    display: block;
    transition: transform 0.8s ease;
}

.single-product-author a:hover .text-slide {
    transform: translateY(-100%);
}

.entry-title{
font-weight: 600;
font-size: 52px;
line-height: 120%;
color: #040E1B;
margin-top: 10px;
}

@media (max-width: 768px) {
    .entry-title {
        font-size: 34px;
        line-height: 81%;
        letter-spacing: 0.1px;
    }
}

.product-full-description{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
margin-top: 20px;
color: #040E1B;
opacity: 80%;
}


.product-description-container{
    max-width: 520px;
}

.quantity{
    display: none;
}

.product-image-container img{
    max-width: 411px;
    height: auto;
}

@media (max-width: 768px) {
.product-image-container img, .gallery-item{
        width: 100%;
    }
}


@media (min-width: 768px) {
.product-image-container-outer{
    max-width: 600px;
}
}

.product-image-container,
.gallery-item {
    position: relative;
    display: inline-block;
}

.zoom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-image-container:hover .zoom-btn,
.gallery-item:hover .zoom-btn {
    opacity: 1;
}

/* попап */
.img-popup {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,0.8);
    text-align: center;
}

.img-popup img {
    max-width: 90%;
    max-height: 90%;
    margin-top: 2%;
}

@media (max-width: 768px) {
    .img-popup img {
        margin-top: 36%;
    }
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* Стрілки */
.img-popup .popup-prev,
.img-popup .popup-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.img-popup .popup-prev:hover,
.img-popup .popup-next:hover {
    background: rgba(255,255,255,0.2);
}

.img-popup .popup-prev { 
    left: 20px;
    cursor: pointer; 
}

.img-popup .popup-next { 
    right: 20px; 
    cursor: pointer;
}

.img-popup .popup-prev svg,
.img-popup .popup-next svg {
    stroke: #fff;
    width: 30px;
    height: 30px;
}



.custom-gallery{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: left;
}

@media (min-width: 768px) {
.custom-gallery img{
   max-width: 290px; 
    height: auto;
}
}

@media (max-width: 768px) {
.custom-gallery img{
   width: 100%!important; 
   height: auto;
}
}

.single-price-container{
    margin-top: 20px;
    display: flex;
    gap: 8px;
}

.single-price{
font-weight: 700;
font-size: 16px;
line-height: 110.00000000000001%;
letter-spacing: -6%;
text-transform: uppercase;
}

.price-notice{
font-weight: 600;
font-size: 12px;
line-height: 130%;
letter-spacing: -3%;
color: #040E1B;
opacity: 80%;
}

.single_add_to_cart_button{
    margin-top: 40px!important;
    border: none!important;
    cursor: pointer!important;
}

@media (max-width: 768px) {
   .single_add_to_cart_button{
        padding-top: 15px!important;
        padding-bottom: 15px!important;
    }
}

.single-detail-container{
    margin-top: 40px;
}

.detail-title{
font-weight: 600;
font-size: 26px;
line-height: 100%;
letter-spacing: -4%;
color: #040E1B;

}

@media (max-width: 768px) {
   .detail-title{
       font-size: 22px; 
    }
}

.detail-inner-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 13.5px; 
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 13.5px;
    border-bottom: 1.5px solid #040E1B12;
}

.detail-row:last-child {
    border-bottom: none !important;
}

.opys{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
color:  #040E1B;
}

.harakterystyka{
font-weight: 700;
font-size: 14px;
line-height: 130%;
letter-spacing: -3%;
text-transform: uppercase;
color: #040E1B;
opacity: 80%;
}

.harakterystyka::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url('/wp-content/uploads/2025/07/decription.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
    margin-top: -2px;
    vertical-align: middle;
}

.about-painter-single-container{
    margin-top: 20px;
}

.single-painter-description{
    margin-top: 20px;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -3%;
    opacity: 80%;
    color: #040E1B;
}

.single-painter-link{
    margin-top: 20px;
    font-weight: 700;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -3%;
    text-transform: uppercase;
    text-decoration: none;
     display: inline-flex;
    align-items: center;
    overflow: hidden;
    color: #040E1B;

}

.single-painter-link:hover{
    text-decoration: none;
}

.single-painter-link::after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url('/wp-content/uploads/2025/07/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 2px;
    vertical-align: middle;
}


.single-painter-link:hover {
    text-decoration: none;
}

/* Стилі для псевдоелемента також без змін */
.single-painter-link::after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url('/wp-content/uploads/2025/07/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 2px;
    vertical-align: middle;
}

/* Нові стилі для анімації */
.text-wrapper {
    display: flex;
    flex-direction: column;
    height: 18.2px; /* Важливо: висота рядка (14px * 1.3) */
    overflow: hidden;
    line-height: 18.2px;
}

.text-slide {
    display: block;
    transition: transform 0.8s ease;
}

.single-painter-link:hover .text-slide {
    transform: translateY(-100%);
}

.mar-20{
    margin-top: 20px;
}

/* Сторінка контактів*/

.contact-container{
    padding-bottom: 160px;
    position: relative;
}

@media (max-width: 766px) {
.contact-container {
padding-bottom: 96px;
}
}

.contact-inner-flex{
    display: flex;
    justify-content: space-between;
    align-items: start;
}

@media (max-width: 766px) {
.contact-inner-flex {
flex-direction: column;
}
}

.contact-main-flex{
    margin-top: 80px;
    display: flex;
    gap: 20px;
    align-items: start;
}

@media (max-width: 766px) {
.contact-main-flex{
flex-direction: column;
margin-top: 145px;
gap: 40px;
}
}

@media (min-width: 766px) {
.contact-left{
    width: 1010px;
}
}

@media (min-width: 766px) {
.contact-right{
    width: 325px;
}
}

@media (max-width: 766px) {
.contact-left, .contact-right{
    width: 100%;
}
}

.contact-title{
font-weight: 600;
font-size: 26px;
line-height: 100%;
letter-spacing: -4%;
color: #040E1B;
}

@media (max-width: 766px) {
.contact-title{
    font-size: 22px;
    letter-spacing: -2px;
}
}



.contact-right-flex{
    display: flex;
    justify-content: space-between;
}

.first-bottom{
    margin-top: 41.5px;
    padding-bottom: 13.5px;
    border-bottom: 1.5px solid #040E1B12;
}

.second-bottom{
    padding-top: 13.5px;
    padding-bottom: 13.5px;
    border-bottom: 1.5px solid #040E1B12;
}

.contact-soc-flex{
    display: flex;
    justify-content: space-between;
    padding-top: 13.5px;
}

@media (max-width: 766px) {
.contact-soc-flex{
 flex-direction: column;
 padding-top: 0px;
}
}

@media (max-width: 766px) {
.contact-soc{
    padding-top: 13.5px;
    padding-bottom: 13.5px;
    border-bottom: 1.5px solid #040E1B12;
    opacity: 80%;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
}
}

@media (max-width: 766px) {
.contact-soc a{
    font-size: 14px;
    font-weight: 700!important;
}
}

@media (max-width: 766px) {
.contact-soc:last-child {
    border-bottom: none;
}
}

.c-flex-left{
font-weight: 700;
font-size: 14px;
line-height: 130%;
letter-spacing: -3%;
text-transform: uppercase;
opacity: 80%;
color: #040E1B;
}

@media (max-width: 766px) {
.c-flex-left {
    border-bottom: none;
}
}

.c-flex-right, .contact-soc{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
color: #040E1B;
}




.contact-outer{
    margin-top: 40px;
}

@media (max-width: 766px) {
.contact-outer{
 margin-top: 20px;
}
}


.contact-row{
    display: flex;
    gap: 20px;
    align-items: end;
    margin-top: 20px;
}

@media (max-width: 766px) {
.contact-row {
flex-direction: column;
align-items: start;
}
}

.contact-label{
font-weight: 600;
font-size: 52px;
line-height: 100%;
letter-spacing: -2%;
color: #040E1B;
}

@media (max-width: 766px) {
.contact-label {
    font-size: 34px;
    line-height: 81%;
    text-align: left;
    
}
}

@media (min-width: 766px) {
.field-outer {
    flex-grow: 1;
}
}

@media (max-width: 766px) {
.field-outer {
    margin-top: -16px;
}
}

.wpcf7-text{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
opacity: 80%;
padding-bottom: 10px;
background-color: #F1F4F7;
border: none;
border-bottom: 1.5px solid #040E1B;
width: 100%!important;
box-sizing: border-box;
color:#040E1B;
}

@media (max-width: 766px) {
.wpcf7-text {
    font-size: 16px;
}
}

.wpcf7-submit{
    cursor: pointer;
}

.wpcf7-response-output{
    display: none;
}

.site-button-static {
  margin-top: 40px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: white;
  background-color: #040E1B;
  width: 100%;
  text-align: center;
  display: inline-flex;
  padding-bottom: 24.5px;
  padding-top: 24.5px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  border: none;
  cursor: pointer;
}

@media (max-width: 766px) {
.site-button-static {
    padding-bottom: 16.5px;
  padding-top: 16.5px;
}
}


@media (max-width: 766px) {
.hand{
position: absolute;
width: 197px;
top: 150px;
right: 0;
z-index: -1;
}
}

@media (min-width: 766px) {
.mobile-contact-heading{
display: none;
}
}


.mobile-contact-heading{
font-weight: 500;
font-size: 50px;
line-height: 81%;
letter-spacing: -4%;
}

.right-align{
    padding-left: 160px;
}

/* Попап*/


.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media (max-width: 766px) {
.popup-overlay {
 padding: 40px 8px;
}
}

.popup-form-wrapper {
  background: #F1F4F7;
  max-width: 1197px;
  width: 100%;
  position: relative;
  padding: 40px;
  border-radius: 4px;
  max-height: 90vh;
}

@media (max-width: 766px) {
.popup-form-wrapper {
 padding: 16px;
 overflow-y: auto;
}
}

.popup-close, .popup-close2  {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  background-color: #D0D4D8;
  padding: 12px 13px;
  border-radius: 4px;
}

@media (min-width: 766px) {
.popup-close, .popup-close2 {
 display: none;
}
}

.popup-close-thankyou{
position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  background-color: #D0D4D8;
  padding: 12px 13px;
  border-radius: 4px;
}

@media (max-width: 766px) {
.popup-close-thankyou  {
   top: 4px;
  right: 4px;
  padding: 4px 4px;
}
}

.hidden2 {
  display: none;
}
  

.popup-title{
font-weight: 500;
font-size: 112px;
line-height: 81%;
letter-spacing: -4%;
}

@media (max-width: 766px) {
.popup-title{
 font-size: 50px;
}
}


.popup-thanks{
font-weight: 500;
font-size: 40px;
line-height: 81%;
letter-spacing: -4%;
}

@media (max-width: 766px) {
.popup-thanks{
 font-size: 16px;
 min-height: 30px;
}
}

.filter-popup-close-block2, .filter-popup-close-block22  {
    background-color: #D0D4D8;
    color: #000;
    font-size: 24px;
    font-weight: bold;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 0;
    border-radius: 4px;
    right: -50px;
    left: auto;
    max-height: 100%;
    transition: background-color 1s ease;
}

@media (max-width: 766px) {
.filter-popup-close-block2, .filter-popup-close-block22  {
 display: none;
}
}


.filter-popup-close-block2:hover, .filter-popup-close-block22:hover   {
background-color: #040E1B;
color: white;
}

/* Кошик*/

.checkout-title{
font-weight: 500;
font-size: 112px;
line-height: 81%;
letter-spacing: -4%;
text-align: center;
}

@media (max-width: 766px) {
.checkout-title{
 font-size: 50px;
 text-align: left;
}
}

.chekout-main{
    margin-top: 80px;
}

@media (max-width: 766px) {
.chekout-main{
 margin-top: 40px;
}
}


.checkout-contact-container{
    margin-top: 80px;
    margin-bottom: 160px;
}

@media (max-width: 766px) {
.checkout-contact-container{
 margin-bottom: 96px;
}
}


.choose-title{
font-weight: 600;
font-size: 26px;
line-height: 100%;
letter-spacing: -4%;
margin-bottom: 40px;
}

@media (max-width: 766px) {
.choose-title{
 font-size: 22px;
}
}


.chekout-product-row{
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background-color: #E6E8EA;
    border-radius: 4px;
    margin-bottom: 20px;
    align-items: center;
    gap: 209px;
    position: relative;
    margin-right: 48px;
}

@media (max-width: 766px) {
.chekout-product-row{
 padding: 24px;
 flex-direction: column;
 justify-content: left;
 gap: 20px;
 margin-right: 0px;
 margin-bottom: 54px;
}
}

@media (min-width: 766px) {
.checkout-left{
    flex: 2;
}

.checkout-right{
    flex: 1;
}
}

@media (max-width: 766px) {
.checkout-right{
    width: 100%;
}
}

.inner-checkout-left{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

@media (max-width: 766px) {
.inner-checkout-left{
 flex-direction: column-reverse;
 justify-content: left;
 gap: 20px;
}
}

@media (max-width: 766px) {
.checkout-product-description{
 width: 100%;
}
}

@media (min-width: 766px) {
.checkout-image{
    max-width: 200px;
}
}

@media (max-width: 766px) {
.checkout-image{
    width: 100%;
}
}

.checkout-product-author {
    /* Оригінальні стилі */
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -3%;
    color: #040E1B;
    padding: 8px;
    background-color: #F1F4F7;
    border-radius: 4px;
    display: inline-flex;
}

/* Стилі для посилань всередині контейнера */
.checkout-product-author a {
    text-decoration: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    line-height: 1.3;
}

.checkout-product-author a:hover {
    text-decoration: none;
}

/* Нові стилі для анімації */
.checkout-product-author .text-wrapper {
    display: flex;
    flex-direction: column;
    height: 18.2px; /* 14px * 1.3 = 18.2px */
    overflow: hidden;
    line-height: 18.2px;
}

.checkout-product-author .text-slide {
    display: block;
    transition: transform 0.8s ease;
}

.checkout-product-author a:hover .text-slide {
    transform: translateY(-100%);
}

.checkout-product-name{
font-weight: 600;
font-size: 52px;
line-height: 120%;
letter-spacing: -2%;
margin-top: 32px;
text-align: left;
}

@media (max-width: 766px) {
.checkout-product-name{
font-size: 22px;
}
}

.product-delete-block {
    background-color: #D0D4D8;
    color: #000;
    font-size: 24px;
    font-weight: bold;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 0;
    border-radius: 4px;
    right: -50px;
    left: auto;
    max-height: 100%;
    transition: background-color 1s ease;
}

@media (max-width: 766px) {
.product-delete-block{
position: absolute;
width: 100%;
height: 32px;
top: 101%;
left: 0;
display: inline-flex;
}
}

.product-delete-block:hover{
background-color: #040E1B;
color: white;
} 

/* Нижня частина кошика*/

@media (min-width: 1310px) {
.vartist-container{
    position: relative;
    top: -98px;
}
}

@media (max-width: 1309px) {
.vartist-container{
    margin-top: 12px;
    display: flex;
    gap: 6px;
    align-items: center;
}
}

.vartist-title{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
flex: 1;
color:#040E1B;
opacity: 80%;
}

.vartist{
font-weight: 600;
font-size: 26px;
line-height: 100%;
letter-spacing: -4%;
background-color: #E6E8EA;
padding: 21px 16px;
display: inline-flex;
margin-top: 10px;
flex: 2;
justify-content: center;
}

@media (max-width: 1309px) {
.vartist{
font-size: 22px;
padding: 13px 16px;
}
}

.notice{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
color: #040E1B;
opacity: 80%;
}

@media (max-width: 1309px) {
.notice{
font-size: 14px;
}
}


.notice-image{
  width: 40px; 
    height: auto;
    flex-shrink: 0;
}

.submit-order-container{
    display: flex;
    gap: 20px;
    align-items: top;
    margin-left: 194px;
}

@media (max-width: 1309px) {
.submit-order-container{
flex-direction: column;
margin-left: 0px;
gap: 12px;
}
}

.submit-order-right{
    display: flex;
    gap: 8px;
    align-items: top;
    margin-top: 60px;
}

@media (max-width: 1309px) {
.submit-order-right{
    margin-top: 0px;
}
}

@media (min-width: 1310px) {
.site-order{
    width: 806px;
    position: relative;
    z-index: 9999;
}
}

/* Сторінка митця*/

.artist-title{
font-weight: 500;
font-size: 112px;
line-height: 81%;
letter-spacing: -4%;
color: #040E1B;
}

@media (max-width: 766px) {
.artist-title{
    font-size: 50px;
    margin-bottom: 40px;
}
}

.artist-title2{
font-weight: 500;
font-size: 112px;
line-height: 81%;
letter-spacing: -4%;
text-align: center;
color: #040E1B;
}

@media (max-width: 766px) {
.artist-title2{
    font-size: 40px;
    margin-bottom: 40px;
    letter-spacing: -3px;
    text-align: left;
    line-height: 40px;
}
}


.mytec-flex{
    display: flex;
    gap: 19px;
    align-items: top;
    margin-bottom: 160px;
}

@media (max-width: 766px) {
.mytec-flex{
    flex-direction: column-reverse;
    margin-bottom: 96px;
}
}

@media (min-width: 1024px) {
    .mytec-right {
        position: sticky; 
        top: 20px; 
        align-self: start;
    }
}

@media (max-width: 766px) {
.artist-desktop{
    display: none;
}
}

@media (min-width: 766px) {
.artist-mobile{
    display: none;
}
}

.mytec-left, .artist-thumbnail{
    flex: 1;
}

@media (min-width: 766px) {
.artist-bio{
    margin-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #040E1B12;
}
}

@media (max-width: 766px) {
.artist-bio{
    border-bottom: 1px solid #040E1B12;
    padding-bottom: 30px;
}
}

.artist-bio p{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
color: #040E1B;
opacity: 80%;
}

.achievment-container{
    padding-top: 40px;
}

.achievment-title{
font-weight: 600;
font-size: 26px;
line-height: 100%;
letter-spacing: -4%;
margin-bottom: 20px;
color: #040E1B;
}

@media (max-width: 766px) {
.achievment-title{
    font-size: 22px;
}
}

.achievment, .date{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
color: #040E1B;
opacity: 80%;
}


.achievment-flex-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #040E1B12;
}

.achievment-flex-row:last-child {
    border-bottom: none !important;
}

@media (max-width: 766px) {
.achievment-flex-row{
flex-direction: column;
align-items: start;
gap: 10px;
}
}

.artist-center{
    text-align: center;
}

.artist-work{
    margin-bottom: 160px;
}

@media (max-width: 766px) {
.artist-work{
margin-bottom: 96px;
}
}

@media (max-width: 766px) {
  .artist-work {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .artist-work .woocommerce-product-grid {
    flex-wrap: nowrap;
    gap: 16px;
    width: max-content;
    padding-bottom: 16px;
  }

  .artist-work .product-item {
    flex: 0 0 auto;
    width: 325px;
    max-width: 325px;
  }

  .artist-work .product-item img {
    width: 100%;
    height: auto;
    max-width: 325px;
  }
}

/* Блок інтро на сторінку всіх митців*/

.mytec-into-container{
    position: relative;
    padding-bottom: 419px;
    margin-bottom: 80px;
}

@media (max-width: 766px) {
.mytec-into-container{
/*padding-bottom: 586px;*/
}
}

@media (min-width: 766px) {
.mytec-title-mobile{
display: none;
}
}

.right-align-mob{
    padding-left: 59px;
    text-wrap: nowrap;

}

@media (max-width: 766px) {
.mytec-title-desktop{
display: none;
}
}

@media (min-width: 766px) {
.mytec-image-block1{
    position: absolute;
    top: 100px;
    left: 0px;
    z-index: -1;
}

.mytec-image-block2{
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.mytec-image-block3{
    position: absolute;
    top: 312px;
    left: 345px;
    z-index: -1;
}

.mytec-image-block4{
    position: absolute;
    top: 264px;
    right: 236px;
    z-index: -1;
}

.mytec-image-block5{
    position: absolute;
    bottom: 110px;
    left: 0;
    z-index: -1;
}

.mytec-image-block6{
    position: absolute;
    bottom: 49px;
    right: 445px;
    z-index: -1;
}

.mytec-image-block7{
    position: absolute;
    bottom: 0;
    right: 175px;
    z-index: -1;
}

.mytec-image-block8{
    position: absolute;
    bottom: 180px;
    right: 0;
    z-index: -1;
}
}


@media (max-width: 766px) {

.mytec-image-block1{
    display: none;
}

.mytec-image-block2{
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateX(0px);
    z-index: -1;
}

.mytec-image-block2 img{
 max-width: 260px;
}

.mytec-image-block3{
    display: none;
}

.mytec-image-block4{
     position: absolute;
    bottom: 0;
    left: 0;
    transform: translateX(8px);
    z-index: -1;
}

.mytec-image-block4 img{
 max-width: 90px;
}

.mytec-image-block5{
    display: none;
}

.mytec-image-block6{
    position: absolute;
    bottom: 166px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.mytec-image-block7{
    display: none;
}

.mytec-image-block8{
    display: none;
}
}

/* Блок всіх митців*/

.artist-accordion-container {
    border-bottom: 1px solid #040E1B12;
    padding-bottom: 160px;
}

@media (max-width: 766px) {
.artist-accordion-container{
padding-bottom: 96px;
}
}

.artist-accordion-item {
    border-bottom: 1px solid #040E1B12;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: start;
    position: relative;
}

.artist-accordion-item:last-child {
    border-bottom: none!important;
}

.artist-accordion-item:first-child {
    border-top: 1px solid #040E1B12;
}


.artist-accordion-header {
font-weight: 600;
font-size: 52px;
line-height: 120%;
letter-spacing: -2%;
cursor: pointer;
flex: 1;
transition: opacity 0.3s ease;
color: #040E1B;
}

@media (max-width: 766px) {
.artist-accordion-header{
font-size: 22px;
}
}

.artist-accordion-header.collapsed {
    opacity: 0.2;
}

@media (max-width: 766px) {
.artist-accordion-item{
flex-direction: column;
    padding-top: 23px;
    padding-bottom: 23px;
}
}

.artist-accordion-content {
    display: none;
    flex: 1;
}

.artist-accordion-inner {
    display: flex;
    gap: 20px;
    align-items: start;
}

@media (max-width: 766px) {
.artist-accordion-inner{
flex-direction: column-reverse;
}
}

.artist-thumbnail2 img {
    max-width: 335px;
    height: auto;
    display: block;
}

@media (max-width: 766px) {
.artist-thumbnail2 img{
max-width: 600px;
width: 100%;
}
}

@media (max-width: 766px) {
  .artist-thumbnail2 {
    width: 100%;
  }
  }

.artist-bio2 {
font-weight: 600;
font-size: 16px;
}

@media (max-width: 766px) {
.artist-bio2{
margin-top: 20px;
}
}

.artist-bio2 p {
margin-top: 0px;
color: #040E1B;
opacity: 80%;
}

.artist-text-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

@media (min-width: 766px) {
.artist-text-container{
    min-height: 300px;
}
}


@media (max-width: 766px) {
.artist-text-container{
justify-content: space-between;
}
}

@media (max-width: 766px) {
.artist-link{
margin-top: 20px;
}
}


.accordion-icons {
    display: none;
}

@media (max-width: 766px) {

  .accordion-icons {
    position: absolute;
    top: 36px;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
  }

  .artist-accordion-header {
    padding-right: 48px; 
  }

  .icon-toggle {
    width: 32px;
    height: 32px;
    cursor: pointer;
  }

  .icon-toggle.close {
    display: none;
  }

  .artist-accordion-header.active .icon-toggle.open {
    display: none;
  }

  .artist-accordion-header.active .icon-toggle.close {
    display: inline;
  }
}

@media (min-width: 767px) {
  .artist-accordion-header:hover + .artist-accordion-content {
    display: block !important;
  }

  .artist-accordion-header:hover {
    opacity: 1 !important;
  }

  
  .artist-accordion-header:hover {
    color: #000;
  }
}

/* Блок про нас інтро */

.about-intro-container{
    position: relative;
    margin-bottom: 80px;
}

@media (max-width: 766px) {
.about-intro-container{
margin-bottom: 30px;
}
}

.small-pic{
    position: absolute;
    top: 0;
    right: 0;
    max-width: 152px;
}

@media (max-width: 766px) {
.small-pic{
display: none;
}
}

.big-pic{
    margin-top: 80px;
}

@media (max-width: 766px) {
.big-pic{
margin-top: 40px;
}
}

.right-align-mob2{
    padding-left: 20px;
}

.right-align-mob3{
    padding-left: 160px;
}

/* Блок про нас 2 секція*/

.second-container-about{
    padding-bottom: 160px;
}

@media (max-width: 766px) {
.second-container-about{
padding-bottom: 96px;
}
}

.outer-flex-section2{
    display: flex;
    gap: 20px;
    align-items: start;
}

@media (max-width: 766px) {
.outer-flex-section2{
flex-direction: column;
}
}


.history-title{
font-weight: 600;
font-size: 26px;
line-height: 100%;
letter-spacing: -4%;
}

@media (max-width: 766px) {
.history-title{
font-size: 22px;
}
}

.history-content{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
margin-top: 20px;
}

.flower{
    width: 20px;
}

@media (max-width: 766px) {
.flower{
position: absolute;
top: 0;
right: 0;
}
}

.inner-section2{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

@media (min-width: 766px) {
.inner-section2{
min-height: 585px;
}
}

@media (max-width: 766px) {
.inner-section2{
justify-content: left;
}
}


@media (max-width: 766px) {
 .pad-bottom-mob-20{
    padding-bottom: 20px;
    border-bottom: 1.5px solid #040E1B12;
 }

 .pad-top-mob-20{
    padding-top: 20px;
 }

}

/* Блок ціності*/

.cinosti-container{
    padding-bottom: 160px;
}

@media (max-width: 766px) {
 .cinosti-container{
    padding-bottom: 96px;
 }
 }

 .cinosti-slider-container{
    margin-top: 80px;
    display: flex;
    gap: 20px;
 }

 @media (max-width: 766px) {
 .cinosti-slider-container{
    margin-top: 40px;
    flex-direction: column-reverse;
 }
 }

.cinosti-navigation-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

 @media (max-width: 766px) {
 .cinosti-navigation-container{
    flex-direction: row-reverse;
    gap: 6px;
 }
 }

.cinosti-navigation{
    display: inline-flex;
    background-color: #040E1B24;
    border-radius: 4px;
    cursor: pointer;
}

 @media (min-width: 766px) {
 .cinosti-navigation{
    padding-left: 28px;
    padding-right: 28px;
    max-width: 66px;
    min-height: 179px;
 }
 }


 @media (max-width: 766px) {
 .cinosti-navigation{
   padding-top: 17.5px;
   padding-bottom: 17.5px;
   width: 100%;
   justify-content: center;
 }
 }


.active-slide{
    position: relative;
    background-color: #040E1B;
    padding: 40px;
    max-width: 929px;
    display: flex;
    gap: 87px;
}

 @media (max-width: 766px) {
 .active-slide{
    flex-direction: column;
    gap: 0px;
 }
 }

.not-active-slide{
    background-color: #E6E8EA;
    padding: 40px 24px;
    max-width: 66px;
    cursor: pointer;
}

 @media (max-width: 766px) {
 .not-active-slide{
    display: none;
 }
 }

.slide-number{
font-weight: 500;
font-size: 26px;
line-height: 190%;
letter-spacing: -6%;
text-transform: uppercase;
}


.active-slide .slide-number{
color: white;
}

.cinosti-slider-title{
font-weight: 600;
font-size: 52px;
line-height: 120%;
letter-spacing: -2%;
color: white;
}

 @media (max-width: 766px) {
 .cinosti-slider-title{
    font-size: 22px;
    margin-top: 20px;
 }
 }

@media (min-width: 766px) {
.white-flower-cinosti {
  position: absolute;
  bottom: 37px;
  left: 38px;
}
}

.cinosti-slider-content p{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
color: white;
}

.slide-number-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

 @media (min-width: 766px) {
 .slide-number-container{
    height: 100%;
    min-height: 179px;
 }
 }

 @media (max-width: 766px) {
 .slide-number-container{
    flex-direction: row;
 }
 }

.cinosti-slide-box{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Акордеон*/

.accordion-main-container {
    margin-bottom: 160px;
    max-width: 1015px;
    margin: 0 auto 160px;
}

 @media (max-width: 766px) {
 .accordion-main-container {
    margin: 0 auto 96px;
 }
 }

 .accortion-container{
    margin-top: 90px;
 }

  @media (max-width: 766px) {
 .accortion-container {
    margin-top: 40px;
 }
 }

.accordion-item2 {
    border-bottom: 1px solid #040E1B1A;
    padding-top: 20px;
    padding-bottom: 20px;
}

.accordion-item2:last-child {
    border-bottom: none!important;
}

.accordion-header2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-question2 {
font-weight: 600;
font-size: 26px;
line-height: 100%;
letter-spacing: -4%;
}

  @media (max-width: 766px) {
 .accordion-question2 {
    font-size: 22px;
 }
 }

.accordion-content2 p {
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
}

.icon-toggle2 {
    width: 48px;
    height: 48px;
    cursor: pointer;
}

  @media (max-width: 766px) {
 .icon-toggle2 {
    width: 32px;
    height: 32px;
 }
 }

 .acortion-container2 {
    flex-shrink: 0; 
}

.accordion-content2 {
    display: none;
}

.accordion-item2.active .accordion-content2 {
    display: block;
}

.accordion-item2 .close2 {
    display: none;
}

.accordion-item2.active .open2 {
    display: none;
}

.accordion-item2.active .close2 {
    display: inline;
}

/* Сторінка події*/

.align-center{
    text-align: center;
}

.event-title{
font-weight: 500;
font-size: 112px;
line-height: 81%;
letter-spacing: -4%;
color: #040E1B;
}

@media (max-width: 766px) {
  .event-title {
   font-size: 50px;
  }
   }


.event-container{
    display: flex;
    gap: 20px;
    align-items: start;
    margin-top: 80px;
    margin-bottom: 160px;
}

@media (min-width: 766px) {
  .event-left {
    max-width: 325px;
            position: sticky;
        top: 20px; 
  }
   }


@media (max-width: 766px) {
  .event-container {
    flex-direction: column;
    margin-top: 40px;
    margin-bottom: 96px;
    gap: 40px;
  }


  .event-middle-container {
    order: 1;
  }

  .event-right{
    order: 2;
  }
  
  .event-left {
    order: 3;
  }
}

.event-left, .event-middle, .event-right{
    flex: 1;
}

.event-left{
    padding: 24px;
    background-color: #E6E8EA;
    border-radius: 4px;
}

  @media (max-width: 766px) {
.event-left, .event-middle {
  width: 100%;
 }
 }


.event-author{
font-weight: 600;
font-size: 26px;
line-height: 100%;
letter-spacing: -4%;
color: #040E1B;
}

  @media (max-width: 766px) {
.event-author{
  font-size: 22px;
 }
 }

.event-inner-container{
    margin-top: 21.5px;
}

.event-row-left{
font-weight: 700;
font-size: 14px;
line-height: 130%;
letter-spacing: -3%;
text-transform: uppercase;
color: #040E1B;
}

.event-price{
font-weight: 700;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
text-transform: uppercase;
color: #040E1B;

}

.event-row-right{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
opacity: 80%;
text-align: right;
color: #040E1B;
}

.event-row{
    display: flex;
    justify-content: space-between;
    padding-top: 12.5px;
    padding-bottom: 12.5px;
    border-bottom: 1.5px solid #040E1B12;
    gap: 16px;
}

.event-price{
    margin-top: 20px;
}


.event-button {
  margin-top: 12px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: white;
  background-color: #040E1B;
  width: 100%;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding-top: 17px;
  padding-bottom: 17px;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

@media (max-width: 766px) {
  .event-button {
    margin-top: 30px;
  }
}

.event-button:hover {
  text-decoration: none;
}

.event-button:hover .text-slide {
  transform: translateY(-100%);
}

.exibition-title{
font-weight: 600;
font-size: 52px;
line-height: 120%;
letter-spacing: -2%;
}

@media (max-width: 766px) {
  .exibition-title {
    font-size: 34px;
  }
}

.exibition-title2{
font-weight: 600;
font-size: 112px;
line-height: 100px;
letter-spacing: -3px;
}

@media (max-width: 766px) {
  .exibition-title2 {
    font-size: 40px;
    line-height: 40px;
  }
}


.even-content p{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
color: #040E1B; 
}

.even-content{
    padding-bottom: 40px;
    border-bottom: 1px solid #040E1B1C;
}

.event-middle-container{
    position: relative;
}

.event-middle{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-middle img{
    max-width: 498px;
}

@media (max-width: 766px) {
    .event-middle {
        display: flex;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .event-middle img {
        flex: 0 0 100%;
        width: 100%;
        border-radius: 4px;
        scroll-snap-align: center;
    }

    /* Прогресбар поверх картинок і фіксований */
    .slider-progress {
        position: absolute;
        bottom: 20px; /* відступ від низу екрану */
        left: 50%;
        transform: translateX(-50%);
        width: 105px;
        height: 2px;
        background: #FFFFFF21;
        border-radius: 1px;
        overflow: hidden;
        z-index: 10;
    }

    .slider-progress-bar {
        height: 100%;
        width: 0%;
        background: #FFFFFFA1;
        transition: width 0.2s ease;
    }
}

.negative-mar-bottom-20{
    margin-bottom: -20px!important;
}

.mar-bottom-20{
    margin-bottom: 20px;
}


.about-event-single-container{
 padding-top: 40px;
 padding-bottom: 40px;
 border-bottom: 1px solid #040E1B1C;
}


.about-event-single-container:last-child{
 padding-bottom: 0px!important;
 border-bottom: none!important;
}


.popup-title2{
font-weight: 500;
font-size: 50px;
line-height: 81%;
letter-spacing: -4%;
}

@media (max-width: 766px) {
.popup-title2{
 font-size: 20px;
}
}

/* Блок всі події*/

.all-event-container{
    padding-bottom: 160px;
}

@media (max-width: 766px) {
.all-event-container{
 padding-bottom: 96px;
}
}

.center-text{
    text-align: center;
    max-width: 550px;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -3%;
    margin: 40px auto;
    color: #040E1B;
    opacity: 80%;
}

.event-sorting-buttons-container{
    display: flex;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 40px;
}

@media (max-width: 766px) {
    .event-sorting-buttons-container {
   margin-top: 40px;
   margin-bottom: 30px;
    }
}

.all-event-sorting-buttons {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

@media (max-width: 766px) {
    .all-event-sorting-buttons {
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: left;
    }
}

.all-event-flex-row{
    padding: 48px;
    background-color: #E6E8EA;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.all-event-flex-row:last-child{
    margin-bottom: 0px;
}

@media (max-width: 766px) {
    .all-event-flex-row {
      flex-direction: column;
      gap: 20px;
      justify-content: left;
      padding: 24px;
      align-items: left;
    }
}

@media (max-width: 766px) {
    .all-event-left, .all-event-right, .all-event-information-container, .all-event-image-mobile {
   width: 100%;
    }
}

@media (min-width: 766px) {
    .all-event-left {
   max-width: 712px;
    }
}

.all-event-autor-inner-flex{
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 630px;
}

.all-event-author {
    /* Оригінальні стилі */
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -3%;
    background-color: #F1F4F7;
    border-radius: 8px;
    padding: 8px;
    color: #040E1B;
}

.all-event-author a {
    /* Додаткові стилі для роботи анімації */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
}

.all-event-author a:hover {
    text-decoration: none;
}

/* Нові стилі для анімації "слайду" */
.all-event-author .text-wrapper {
    display: flex;
    flex-direction: column;
    height: 18.2px; /* 14px * 1.3 = 18.2px */
    overflow: hidden;
    line-height: 18.2px;
}

.all-event-author .text-slide {
    display: block;
    transition: transform 0.8s ease;
}

.all-event-author a:hover .text-slide {
    transform: translateY(-100%);
}

.all-event-name{
margin-top: 32px;
font-weight: 600;
font-size: 52px;
line-height: 120%;
letter-spacing: -2%;
color: #040E1B;
}

@media (max-width: 766px) {
    .all-event-name {
      font-size: 22px;
    }
}



.all-event-right-inner-flex{
    display: flex;
    gap: 50px;
    align-items: center;
}

@media (max-width: 766px) {
    .all-event-right-inner-flex {
      flex-direction: column;
      gap: 20px;
      justify-content: left;
    }
}

.all-event-image-desktop {
    max-width: 200px;
    transition: transform 0.4s ease;
    transform-origin: center;
}

.all-event-image-desktop:hover {
    transform: rotate(-9deg) scale(1.32);
}

@media (max-width: 766px) {
    .all-event-image-desktop {
      display: none;
    }
}

@media (min-width: 766px) {
    .all-event-image-mobile {
      display: none;
    }
}


@media (min-width: 766px) {
.all-event-flex-row .all-event-author, .all-event-flex-row .all-event-name, .all-event-flex-row .event-row-left, .all-event-flex-row .event-row-right {
opacity: 60%;
}

.all-event-flex-row:hover .all-event-author, .all-event-flex-row:hover .all-event-name, .all-event-flex-row:hover .event-row-left {
opacity: 100%;
}
}

.all-event-flex-row .event-row:last-child{
    padding-bottom: 0px!important;
    border-bottom: none!important;
}


/*Політика конфіденційності*/

.privacy-container{
    padding-bottom: 160px;
    color: #040E1B;
    opacity: 80%;
    max-width: 1015px;
    margin: 80px auto;
    display: block;
    font-weight: 600;
}

@media (max-width: 766px) {
    .privacy-container {
    margin-top: 40px;
    padding-bottom: 96px;
    }
}

.privacy-subtitle{
font-weight: 500;
font-size: 112px;
line-height: 81%;
text-align: center;
color: #040E1B;
}

@media (max-width: 766px) {
    .privacy-subtitle {
    font-weight: 600;
    font-size: 30px;
    letter-spacing: -2px;
    }
}


/* 404 сторінка*/

.container-404{
    position: relative;
    z-index: 99999;
    padding-bottom: 80px;   
}

@media (min-width: 766px) {
.error404 .site-header{
    height: 80px;
}

.error404 .logo-img{
    margin-top: 24px;
}
}

.button-404-container{
    display: flex;
    justify-content: center;
    margin-top: 270px;
}

@media (max-width: 766px) {
    .button-404-container{
   margin-top: 240px;
    }
}

.button-404 {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: white;
  background-color: #040E1B;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding-top: 23px;
  padding-bottom: 23px;
  padding-left: 60px;
  padding-right: 60px;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
}

@media (min-width: 766px) {
    .button-404{
width: 397px;
    }
}

@media (max-width: 766px) {
    .button-404{
    padding-left: 20px;
  padding-right: 20px;
    padding-top: 15px;
  padding-bottom: 15px;
  width: 100%;
    }
}

.button-404:hover {
  text-decoration: none;
}

.button-404:hover .text-slide {
  transform: translateY(-100%);
}

.title-404{
font-weight: 600;
font-size: 52px;
line-height: 120%;
letter-spacing: -2%;
margin-top: 243px;
}

@media (max-width: 766px) {
    .title-404{
        font-size: 26px;
        margin-top: 30px;
    }
}

.image-404-desktop{
    position: absolute;
    top: -360px;
    left: 40px;
    z-index: 9999;
    pointer-events: none;
}

.image-404-mobile{
    position: absolute;
    top: -340px;
    left: 0px;
    z-index: 9999;
    pointer-events: none;
    width: 100%;
}


@media (max-width: 766px) {
    .image-404-desktop{
        display: none;
    }
}

@media (min-width: 766px) {
    .image-404-mobile{
        display: none;
    }
}



body.error404 .header-menu.left-menu, body.error404 .header-menu.right-menu, body.error404 .cart-header, body.error404 .menu-toggle, body.error404 .wpml-container {
    display: none;
}

.special404{
font-weight: 600;
font-size: 52px;
line-height: 120%;
letter-spacing: -2%;
opacity: 20%;
}

@media (max-width: 766px) {
    .special404{
        font-size: 26px;
    }
}

.special404-1{
    position: absolute;
    top: -340px;
    left: 0;
    z-index: 9999;
}

@media (max-width: 766px) {
    .special404-1{
    top: -300px;
    left: 8px;
    }
}


.special404-2{
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 9999;
}

@media (max-width: 766px) {
    .special404-2{
    top: -60px;
    left: 8px;
    }
}

.special404-3{
    position: absolute;
    top: -340px;
    right: 0;
    z-index: 9999;
}

@media (max-width: 766px) {
    .special404-3{
    top: -300px;
    right: 8px;
    }
}

.special404-4{
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 9999;
}

@media (max-width: 766px) {
    .special404-4{
    top: -60px;
    right: 8px;
    }
}

.special404-5{
    position: absolute;
    top: 314px;
    right: 0;
    z-index: 9999;
}

@media (max-width: 766px) {
    .special404-5{
    top: 120px;
    right: 8px;
    }
}

/* Плаваючий футер на сторінці події*/

.top-footer-date{
font-weight: 600;
font-size: 16px;
line-height: 130%;
letter-spacing: -3%;
color: white;
opacity: 80%;
}

.footer-price{
font-weight: 500;
font-size: 20px;
line-height: 100%;
letter-spacing: -4%;
text-transform: uppercase;
color: white;
margin-top: 16px;
}

.top-footer-button-container2{
    display: flex;
    gap: 16px;
    align-items: center;
}

@media (min-width: 766px) {
.mobile{
display: none;
}
}

@media (max-width: 766px) {
.floating-footer-inner-flex{
display: flex;
justify-content: space-between;
}
}

.wpcf7-not-valid-tip:not(:nth-child(1)):not(:nth-child(2)) {
    display:none;
}

.open-popup-button, .open-popup-button2 {
    cursor: pointer;
}


.woof_price_filter_txt_to::after {
    content: "+"!important;
    color: #000!important;         
    font-weight: 700!important;    
    margin-left: 16px!important;  
    font-size: 16px!important;     
}

/*+ на ціну*/
.price-plus{
    font-weight: 700;
    color: #040E1B;
    font-size: 20px;
    position: absolute;
    right: -16px;
    bottom: 90px;
}