html, body {
    font-size: 15px;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    line-height: 1.8;
    margin: 0;
    height: 100%;
    letter-spacing: 0.1em;
}



/* smooth-scroll.css */
:root {
  --scroll-speed: 1.5s;
  --scroll-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Базовый плавный скролл */
html {
  scroll-behavior: smooth;
}




/* Фон для html, чтобы покрыть 130vh */
html {
    background: linear-gradient(#1f1f1f, #6F6D70);

}

/* Или для body */
body {
    background: linear-gradient(#1f1f1f, #6F6D70);
}

* {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    outline: none;
}

body {
    position: relative;
}

#single {
    background: none;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130vh;
    z-index: 0;
    background: linear-gradient(#1f1f1f, #6F6D70);
}

@font-face {
    font-family: "Perpetua Titling MT Light";
    src: url("fonts/PERPETUA-TITLING-MV.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "FF Good Pro Light";
    src: url("fonts/FFGoodPro-Light.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  a:active, a:focus,
  button:active, button:focus {
    outline: none;
    background-color: transparent;
  }

  a:focus-visible {
    outline: 2px solid #4a90e2;
  }


.wrapper {
    width: 100%;
    max-width: 1100px;
    padding: 0 60px;
    margin: auto;
    position: relative;
    box-sizing: border-box;
}

.swiper {
    margin-top: -3%;
}

.line {
    border-right: 1px solid #b8a470;
    height: 100%;
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    z-index: 9;
}

.collections {
    position: relative;
}

.collections section {
    position: relative;
}

.collections section .items {
    display: flex;
}

.similar .collections section .items {
    justify-content: center;
}

.collections section .items .item {
    width: calc(100% / 3);
    aspect-ratio: 1/1.2;
    box-sizing: border-box;
    background-size: 150%;
    background-position: center center; 
}

.collections section .items .item.stretch {
    width: calc(80% / 3 * 2);
    aspect-ratio: 2/1;
    background-size: cover;
    margin-left: 10%;
}

.similar .item {
    max-width: 130px;
}

.collections section .items .item:hover {
    transform: scale(1.1);
}

.single .collections section .items .item {
    transition: 0.5s;
}

#single .header {
    display: flex;
    justify-content: center;
    height: 120px;
}

#single .header .logo_mv_s {
    width: 150px;
    margin-top: 30px;
}

#collections {
    margin-left: 10%;
}

.collections .dot {
    width: 8px;
    height: 8px;
    background-color: #b8a470;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    margin-top: -3.5px;
    left: -3.5px;
    z-index: 9;
}

.header {
    display: flex;
    position: relative;
    z-index: 89;
}

#collections .header {
    position: sticky;
    top: 0;
}

#collections .header, .headerbg {
    height: 400px;
}

#collections .headerbg.img {
    background-color: #000; 
    z-index: 10;
}

#collections .headerbg.img::before {
    display: none;
}

#collections .headerbg:not(.img) {
    background-image: none;
}

.headerbg.img {
    opacity: 0; /* Начальное состояние */
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.headerbg {
    position: fixed;
    width: 100%;
    z-index: 9;
    right: 0;
    clip-path: inset(0px);
    background-color: #FFF;
    background-size: cover;
    background-position: center center;
}

.headerbg::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130vh;
    background: linear-gradient(#1f1f1f, #6F6D70);
    z-index: -1;
}

#collections .title {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-top: 30px;
}

#collections .header .title { 
    padding-bottom: 20px !important;
}

.himg {
    position: absolute;
    bottom: 0;
    width: 120%;
    left: 0;
    margin-left: -60%;
    z-index: 99;
}

h1, .m-content .m-title, #submitBtn, .cookies .button {
    font-size: 38px;
    font-family: "Perpetua Titling MT Light";
    line-height: 1.2;
    font-weight: normal;
    text-transform: uppercase;
    color: #d8bf7e;
}

#single .title h1, .m-content .m-title {
    font-size: 24px;
    margin-bottom: 5px;
}

.m-content .m-title {
    margin-bottom: 40px;
    text-align: left !important;
    margin-top: 0 !important;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.sbm {
    margin-bottom: 20px;
}

#submitBtn {
    font-size: 24px;
    text-align: right;
}

.send span {
    text-align: right;
}
 
.m-content {
    max-width: 600px;
    text-align: justify;
    overflow: auto;
    height: 100%;
}

.title span, #single .title span, .gtitle, .similar span {
    font-size: 19px;
}

.title span {
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-weight: 200;
    margin-bottom: 20px;
    display: block;
    position: relative;
}

.title span::after {
     content: '';
     margin-right: -0.5em;
}

.title p {
    max-width: 500px;
    margin: auto;
}

.swiper {
    width: 100%;
    margin-bottom: 10px;
}

.swiper-slide {
    background-size: 220%;
    width: calc(100%/3);
    aspect-ratio: 1/1.5;
    background-position: center center;
    filter: blur(3px);
    transform: scale(0.5) !important;
    opacity: 0.7;
    transition: 2s cubic-bezier(0.4, 0, 0.2, 1);;
    transition-property: opacity, filter, transform !important;
    cursor: pointer;
}

.swiper-slide:hover {
    opacity: 1;
}

.swiper-slide-active {
    filter: blur(0);
    transform: scale(1) !important;
    opacity: 1;
}

.swiper-slide-active:hover {
    filter: blur(0);
    transform: scale(1) !important;
}

.swiper-pagination-bullet-active {
    background-color: #FFF !important;
}

.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#single .header .title {
    text-align: left;
    padding: 40px 0 0 0;
}

#single .wrapper {
    max-width: 100%;
}

#single .title span {
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-weight: 200;
    display: block;
    position: relative;
    margin-bottom: 2px;
}

#single .title .arrow {
    margin-bottom: 10px;
}

#single .desc {
    margin: auto;
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
}

#single .topmenu, .index-page .topmenu {
    right: 68px;
}

.similar {
    text-align: center;
}

.similar span {
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-weight: 200;
    display: block;
    margin-bottom: 10px;
    position: relative;
}

.similar .collections {
    padding-top: 0;
}

.similar section {
    max-width: 600px;
    margin: auto;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 70px !important;
}

.container {
    width: 100%;
}

.gallery {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9;
}

.gcontent {
    clip-path: inset(1px);    
}

.gallery .gcontent::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 130vh;
    background: linear-gradient(#1f1f1f, #6F6D70);
    z-index: -1;
}

.gallery .gtitle {
    padding: 30px 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 1px solid transparent;
}

.gallery .opengall {
    display: flex;
        flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.gtitle.active {
    border-color: #FFF;
}

.gtitle {
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-weight: 200;
    display: block;
    position: relative;
    display: flex;
    align-items: center;
    transition: 1.6s;
}

.gcontent {
    height: 0;
    overflow: hidden;
    transition: none;
}

.gcontent .items {
    display: flex;
    padding: 120px 60px;
}

.arrow {
    background-image: url(img/arrow.svg);
    display: flex;
    background-position: center left;
    background-repeat: no-repeat;
    background-size: cover;
    height: 25px;
    width: 35px;
    transition: 0.6s;
    cursor: pointer;
}

.gtitle .arrow {
    margin-right: 10px;
    transform: rotate(90deg);
}

.gtitle.active .arrow {
    transform: rotate(-90deg);
}

.topmenu {
    position: fixed;
    right: 60px;
    top: 30px;
    cursor: pointer;
    z-index: 99;
    line-height: 0;
    display: flex;
    text-align: center;
    flex-direction: column;
}

.topmenu img.logo_london {
   width: 45px; 
   margin-bottom: 10px;
}

#single .topmenu img.logo_london, .index-page .topmenu img.logo_london {
   width: 72px;
   margin-bottom: 0;
}

.topmenu img.logo_mv {
   width: 90px; 
}

.mmenu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    height: 55px;
    transition: gap 0.5s ease;
}

.mmenu .mline {
    width: 45px; 
    border-bottom: 1px solid rgba(228,228,228,.75);
    transition: all 0.5s ease;
}

.mmen.active {
    gap: 0;
    transition-delay: 0s;
}

.mmenu.active {
    gap: 0;
    transition-delay: 0s;
}

.mmenu.active .mline:nth-child(1) {
    transform: rotate(10deg);
    transition-delay: 0.5s;
}

.mmenu.active .mline:nth-child(2) {
    transform: rotate(-10deg);
    transition-delay: 0.5s;
    margin-top: -1px;
}

.mmenu .mline:nth-child(1),
.mmenu .mline:nth-child(2) {
    transition-delay: 0s;
}

.mmenu {
    transition-delay: 0.5s;
}

a {
    color: #FFF;
    text-decoration: none;
    transition: 0.5s;
}

a:hover {
    color: #d8bf7e;
}

.overflow {
    background: linear-gradient(0deg,rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 90;
    align-items: center;
    justify-content: center;
    display: none;
}

.overflow.active {
    display: flex;
}

.overflow_menu .navigation {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-height: 600px;
    margin-right: -110px;
}

.overflow_menu .navigation nav.opened {
    display: flex;
    flex-direction: column;    
    margin-bottom: 20px;
}

.overflow_menu .navblock {
    display: flex;
    flex-direction: column;
}

.navigation span {
    font-family: "Perpetua Titling MT Light";
    line-height: 1.2;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.navigation nav a {
    font-family: "FF Good Pro Light";
    text-transform: uppercase;
    transition: 0s;
}

.navigation nav a:active {
    color: #d8bf7e !important;
}

.navigation span {
    cursor: pointer;
}

.navigation span b {
    transition: 0.5s;
    font-weight: normal;
}

.navigation span b:hover {
    color: #d8bf7e !important;
}

.navigation nav {
    display: flex;
    flex-direction: column;
    gap: 5px;    
}

.overflow_menu .social {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.overflow_menu .av_logo {
    width: 200px;
}

.overflow_menu .mv_logo {
    width: 250px;
}

.overflow_menu .inst {
    width: 24px;
    margin-bottom: 10px;
}

 .gcontent {
            height: 0;
            overflow: hidden;
            transition: height 1.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .flexzoom, .fixtitle {
            transition: transform 1.6s cubic-bezier(0.4, 0, 0.2, 1), 
                       opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .flexzoom.gallery-active {
            opacity: 0.2;
            transform: translateY(-100px); /* Добавим базовое значение для теста */
        }
        
        .gtitle .arrow {
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            transform: rotate(-90deg);
        }
        
        .gtitle.active .arrow {
            transform: rotate(90deg);
        }
        
.overflow, .overflow_gall {
    background: rgba(0, 0, 0, 0.35);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 90;
    align-items: center;
    justify-content: center;
    display: flex;
    transition: 0.8s;
    opacity: 0;
    visibility: hidden;
}

.overflow.active {
    opacity: 1;
    visibility: visible;
}

.overflow_gall {
    opacity: 1;
    visibility: visible;
    background: none;
    z-index: 101;
}

.img_gall {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img_gall img {
    position: absolute;
    height: 100%;
}

.overflow_menu, .img_gall {
    background: rgba(18, 18, 18, 0.9);
    padding: 60px 90px;
    height: calc(100% - 252px);
    box-sizing: border-box;
    width: 100%;
    margin: 0 127px;
    display: flex;
    align-items: center;
    transition: 1.3s;
    transform-origin: top right;
    transform: scale(0);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img_gall {
    opacity: 1;
    transform: scale(1);
    background: rgba(0, 0, 0, 1);
    transform-origin: center center;
}

.overflow.active .overflow_menu {
    transform: scale(1);
    opacity: 1;
}

/* Стили для анимированных элементов */
.navigation span,
.navigation .social {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 1.3s ease;
}

/* Задержки для последовательного появления */
.overflow.active .navigation span:nth-of-type(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

.overflow.active .navigation span:nth-of-type(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.5s;
}

.overflow.active .navigation span:nth-of-type(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 2s;
}

.navigation nav {
    transform: translateY(-20px);
    margin-top: 20px;
    transition: opacity 2s ease, transform 2s ease, visibility 2s ease;
}

/* Открытое состояние */
.navigation nav.opened {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 500px; /* или достаточно большое значение */
}

.navblock {
    position: relative;
    --menu-height: 0px;
}

.contacts-link {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.navblock.menu-opened .contacts-link {
    transform: translateY(var(--menu-height));
}

.overflow.active .navigation .social {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 2.5s;
}

.swiper-slide div {
        display: none;
    width: 0;
    height: 0;
     pointer-events: none; 
}

.swiper-slide.swiper-slide-active div {
pointer-events: auto;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
}

.collection-hover.scale-transition {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    h1 {
        font-size: 24px;
    }
    
    #single .title h1 {
        font-size: 18px;
    }
    
    html, body {
    font-size: 13px;
    }
    
    .title span, #single .title span, .gtitle, .similar span {
        font-size: 13px;
    }
    
    .navigation span {
        font-size: 22px;
    }
    
    .swiper-pagination-bullet {
        width: 3px !important;
        height: 3px !important;
        background: #686868 !important;
        opacity: 1 !important;
    }
    
    .swiper-pagination {
        gap: 5px;
        position: static !important;
            margin-top: -4%;
        margin-bottom: 10px;
    }
    
    .swiper-pagination-bullet-active {
        background-color: #FFF !important;
    }
    
    .fixtitle {
        position: fixed;
        bottom: 30px;
        left: 0;
        z-index: 10;
    }
    
    .overflow_gall {
     display: none;
}
        
    .img_gall {
            opacity: 0;
            transform: scale(0);
            transition: opacity 2s, transform 2s;
}
        
    .inst {
            display: none;
    }
        
.contact form { 
    display: flex; 
    flex-direction: column; 
}

.contact form input {
    border: 0;
    font-size: 16px;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    background-color: transparent;
    padding: 0 0 7px 0;
}

.contact form .hline {
    border-bottom: 1px solid #797979;
    display: block;
    margin-bottom: 30px;
    transition: 2s;
    width: 0;
}

.contact form .hline.animate {
    width: 100%;
}

.sbm {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fline {
    border-right: 1px solid #b8a470;
    height: 100%;
    z-index: 9;
    position: fixed;
    bottom: 0;
    top: 0;
}

html, body {
    overscroll-behavior: none;
    overscroll-behavior-x: none;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: auto; /* Важно для iOS */
}

@supports (-webkit-touch-callout: none) {
    body {
        overscroll-behavior-y: none;
    }
}

.header, .headerbg {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform;
}

html {
    scroll-behavior: auto;
}

* {
    scroll-behavior: auto !important;
}

.swiper-slide.stretch {
    background-size: contain;
    background-repeat: no-repeat;
}

.p-content {
    font-size: 16px;
    text-align: left;
}

.cookies {
    display: flex;
    align-items: flex-start;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 99999;
    justify-content: center;
    gap: 40px;
    background: rgba(18, 18, 18, 0.9);
}

.cookies p {
    max-width: 1460px;
}

.cookies .button {
    font-size: 24px;
    border-bottom: 1px solid #d8bf7e;
    padding-bottom: 5px;
    white-space: nowrap;
    cursor: pointer;
}

.cookies.accept {
    display: none;
}

.cookies {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s ease forwards;
    animation-delay: 2s; /* Задержка перед появлением */
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.gallery .items {
    display: flex;
    gap: 60px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

/* Кастомный скроллбар для WebKit браузеров */
.gallery .items::-webkit-scrollbar {
    height: 8px;
}

.gallery .items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.gallery .items::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.gallery .items::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.gallery .item {
    position: relative;
    height: 250px;
    flex-shrink: 0; /* Запрещаем сжатие */
    overflow: hidden;
}

.gallery .item-image {
    height: 100%;
    width: auto;
    display: block;
    transition: transform 1s ease;
}

/* При наведении увеличиваем изображение */
.gallery .item:hover .item-image {
    transform: scale(1.1);
}

/* Ссылка на весь блок */
.gallery .item-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Стили для видео */
.gallery .video-item {
    position: relative;
}

.gallery .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
}

.gallery .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    pointer-events: none;
    z-index: 2;
}

.gallery .video-item .item-link {
    z-index: 3;
}

/* Чтобы изображение не выходило за рамки при масштабировании */
.gallery .item {
    overflow: hidden;
}
 /* Скрываем все элементы управления Fancybox */
    .fancybox__nav,
    .fancybox__toolbar,
    .fancybox__thumbs,
    .fancybox-close-small,
    .fancybox-button--zoom,
    .fancybox-button--thumbs,
    .fancybox-button--close {
        display: none !important;
    }
    
    .fancybox__backdrop {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .fancybox__container {
        --fancybox-bg: rgba(0, 0, 0, 0.35);
    }
    
.fancybox__content {
    width: auto !important;
    height: auto !important;
     outline: none !important;
}
    
.fancybox__content video {
    outline: none !important;
}


.fancybox__html5video {
    max-width: 75vw !important;
    max-height: 75vh !important;
    width: auto !important;
    height: auto !important;
}