input {
    outline: none;
}

.right-menu-link .elementor-widget-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.right-menu-link {
    transition: opacity 0.3s ease;
}

.right-menu-link:hover .elementor-widget-image {
    opacity: 1;
}

.pin-spacer .e-con .elementor-widget {
    transition: none !important;
}

.right-menu-link a:after {
    content: "";
    height: 80px;
    position: absolute;
    width: calc(100% + 200px);
    left: 0;
}

.right-menu:hover .right-menu-link:not(:hover) {
    opacity: 0.2;
    z-index: -1;
}

.right-menu .elementor-widget-image {
    min-width: 130px;
    z-index: 2;
    pointer-events: none;
}

.header-left-menu .elementor-nav-menu:hover li:not(:hover) a {
    opacity: 0.2;
}

.newsletter-form {
    position: relative;
}

.newsletter-form .newsletter-form-submit {
    position: absolute;
    bottom: 4px;
    right: 0;
}

.newsletter-form-email input {
    padding-right: 5rem;
}

.newsletter-form .newsletter-form-submit input {
    line-height: 1.2;
}

.collection-titles .elementor-widget-heading {
    cursor: pointer;
    transition: opacity .3s ease;
}

.collection-titles .elementor-widget-heading:not(.active) {
    opacity: .26;
}

body:not(.elementor-editor-active) .collection-images>.e-child {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s ease, visibility .45s ease;
}

body:not(.elementor-editor-active) .collection-images>.e-child.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.history-section .history-inner {
    transition: none;
}

.history-title .elementor-heading-title {
    transition: 0.4s ease;
    transition-property: opacity, color;
}

.history-title:not(.active) .elementor-heading-title {
    color: #fff !important;
    opacity: 0.5;
}

.history-link .elementor-button {
    border-color: inherit !important;
}

.image-with-caps .elementor-image-box-content {
    display: inline-flex;
    width: auto;
    gap: 6px;
    align-items: center;
}

.image-with-caps .elementor-image-box-content .elementor-image-box-description {
    margin-top: 4px;
}

.image-with-caps .elementor-image-box-img {
    display: block;
}

#mySwiper .swiper-slide,
#mySwiperBottom .swiper-slide {
    width: auto !important;
}

body:not(.elementor-editor-active) #mySwiper {
    /* pointer-events: none; */
}

body:not(.elementor-editor-active) #mySwiperBottom {
    /* pointer-events: none; */
}

#mySwiper .swiper-wrapper,
#mySwiperBottom .swiper-wrapper {
    display: flex;
    transition: none !important;
    will-change: transform;
}

.showcase-slider .swiper-wrapper .elementor-image-box-wrapper .elementor-image-box-img img{
    width: 100%;
}

@media (min-width: 768px) {

    #mySwiper .swiper-wrapper,
    #mySwiperBottom .swiper-wrapper {}
}

#mySwiper .swiper-slide,
#mySwiperBottom .swiper-slide {
    flex: 0 0 auto;
    width: auto;
}

/* #mySwiper .swiper-slide img,
#mySwiperBottom .swiper-slide img {
    max-width: none;
} */

/* html {
    scroll-behavior: auto !important;
}  */

.charm-titles-wrap .elementor-cta__content {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
}

.charm-titles-wrap .elementor-cta__content .elementor-cta__title {
    margin-bottom: 0;
    width: auto;
}

.match-character-tab .swiper-slide-inner {
    display: block;
}

.match-character-tab .swiper-slide-inner img {
    width: 100%;
}

.match-character-tab img {
    vertical-align: top;
    opacity: 0;
}

/* Active image fade in */
.match-character-tab .e-active img {
    animation: characterImageFadeIn 0.5s ease 0.5s forwards;
}

/* Active tab background */
.match-character-tab .e-active .swiper-slide-inner {
    animation: characterTabBg 0.5s ease 0.5s forwards;
}

@keyframes characterImageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes characterTabBg {

    to {
        background-color: transparent;
    }
}

.match-character-tab .electric-slider .swiper-wrapper>div:nth-child(3n+1) .swiper-slide-inner {
    background-color: #EDEDC6;
}

.match-character-tab .electric-slider .swiper-wrapper>div:nth-child(3n+2) .swiper-slide-inner {
    background-color: #CE8BE0;
}

.match-character-tab .electric-slider .swiper-wrapper>div:nth-child(3n+3) .swiper-slide-inner {
    background-color: #E6D5E0;
}

.match-character-tab .pastels-slider .swiper-wrapper>div:nth-child(3n+1) .swiper-slide-inner {
    background-color: #EDEDC6;
}

.match-character-tab .pastels-slider .swiper-wrapper>div:nth-child(3n+2) .swiper-slide-inner {
    background-color: #FCE0CC;
}

.match-character-tab .pastels-slider .swiper-wrapper>div:nth-child(3n+3) .swiper-slide-inner {
    background-color: #E6D5E0;
}

.match-character-tab .vibrant-slider .swiper-wrapper>div:nth-child(3n+1) .swiper-slide-inner {
    background-color: #74CBB5;
}

.match-character-tab .vibrant-slider .swiper-wrapper>div:nth-child(3n+2) .swiper-slide-inner {
    background-color: #FF82CC;
}

.match-character-tab .vibrant-slider .swiper-wrapper>div:nth-child(3n+3) .swiper-slide-inner {
    background-color: #E6D5E0;
}

.match-character-tab .neutral-slider .swiper-wrapper>div:nth-child(3n+1) .swiper-slide-inner {
    background-color: #EDE7E4;
}

.match-character-tab .neutral-slider .swiper-wrapper>div:nth-child(3n+2) .swiper-slide-inner {
    background-color: #DAD4D2;
}

.match-character-tab .neutral-slider .swiper-wrapper>div:nth-child(3n+3) .swiper-slide-inner {
    background-color: #C6C9CA;
}


.match-sec.vibrant-active .match-character-tab {
    --n-tabs-title-color: #FE9401 !important;
    --n-tabs-title-color-active: #FE9401 !important;
}

.match-sec.pastels-active .match-character-tab {
    --n-tabs-title-color: #54d776 !important;
    --n-tabs-title-color-active: #54d776 !important;
}

.match-sec.eclectic-active .match-character-tab {
    --n-tabs-title-color: #5E1A20 !important;
    --n-tabs-title-color-active: #5E1A20 !important;
}

.match-sec .elementor-heading-title {
    transition: color 0.3s ease;
}

.match-sec.vibrant-active .elementor-heading-title {
    color: #0145C9 !important;
}

.match-sec.pastels-active .elementor-heading-title {
    color: #DEC7D4 !important;
}

.match-sec.eclectic-active .elementor-heading-title {
    color: #DA810E !important;
}

.match-character-tab .e-n-tab-title {
    transition-property: opacity, color !important;
}

.match-sec:is(.vibrant-active, .neutral-active, .pastels-active, .eclectic-active) .e-n-tab-title[aria-selected="false"] {
    /* opacity: 0.6; */
}

.match-sec.vibrant-active .e-n-tab-title[aria-selected="false"] {
    color: #D9C6A8;
    --n-tabs-title-color-hover: #D9C6A8 !important;
}

.match-sec.pastels-active .e-n-tab-title[aria-selected="false"] {
    color: #B5DCC3;
    --n-tabs-title-color-hover: #B5DCC3 !important;
}

.match-sec.eclectic-active .e-n-tab-title[aria-selected="false"] {
    color: #D9B9BC;
    --n-tabs-title-color-hover: #D9B9BC !important;
}

.match-sec .elementor-widget-image-carousel .swiper-slide {
    width: auto;
    max-width: 85vw;
}

.le-products-section .le-products-inner {
    transition: none;
}

.le-products-title .elementor-heading-title {
    transition: 0.4s ease;
    transition-property: opacity, color;
}

.le-products-title:not(.active) .elementor-heading-title {
    opacity: 0.2;
}

.product-title-wrapper {
    --title-color: var(--e-global-color-6a2b7ef);
    /* fallback/default */
}

.product-title-wrapper h2,
.product-title-wrapper h3,
.product-title-wrapper p {
    color: var(--title-color) !important;
}

.le-products-desc p em {
    font-family: var(--e-global-typography-cecb4cc-font-family, "adobe-caslon-pro");
}


.le-hover-box {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    overflow: hidden;
    transition: flex-grow 0.9s ease;
}

.le-hover-box>div {
    grid-area: 1/1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.le-hover-box>div:first-child {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.le-hover-box>div:last-child {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

/* Seats Slider CSS */
/* All three centred on the same horizontal axis */
.seats-slider .swiper-wrapper {
    align-items: center;
    user-select: none;
}

.seats-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.75);
    transform-origin: center center;
    /* grow evenly, stay centred */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
}

.seats-slider .swiper-slide-active {
    transform: scale(1.16);
}

.seats-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.cky-prefrence-btn-wrapper .cky-btn,
.cky-notice-btn-wrapper .cky-btn:not(.cky-btn-customize) {
    background-color: var(--e-global-color-primary) !important;
    border-color: var(--e-global-color-primary) !important;
}

.cky-notice-btn-wrapper .cky-btn.cky-btn-customize {
    color: var(--e-global-color-primary) !important;
    border-color: var(--e-global-color-primary) !important;
    flex-grow: 0;
    margin-right: 15px;
}

.cky-notice .cky-title,
.cky-preference-header .cky-preference-title {
    font-family: "adobe-ming-std";
    font-weight: 300;
    text-transform: uppercase;
}

.cky-accordion-header .cky-accordion-btn {
    border: none !important;
}

.cky-btn-revisit-wrapper {
    display: none !important;
}

.oblong-building-image-wrap img {
    max-height: calc(var(--app-height, 100vh) - 200px);
    object-fit: contain;
}

/* --- 1024 and up: hover --- */
@media (min-width: 1025px) {
    .le-hover-box-wrapper:has(.le-hover-box:hover) .le-hover-box:not(:hover) {
        flex-grow: 0.8;
    }

    .le-hover-box-wrapper:hover .elementor-heading-title {
        opacity: 0;
    }

    .le-hover-box-wrapper .le-hover-box:hover {
        flex-grow: 2;
    }

    .le-hover-box:hover>div:first-child {
        opacity: 0;
        visibility: hidden;
        z-index: 1;
    }

    .le-hover-box:hover>div:last-child {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }
}

@media (max-width: 1024px) {

    .seats-slider .swiper-slide-active {
        transform: scale(1.2);
    }

    .le-hover-box-wrapper.has-open .le-hover-box:not(.is-open) {
        flex-grow: 0.45;
    }

    .le-hover-box-wrapper.has-open .elementor-heading-title {
        opacity: 0;
    }

    .le-hover-box.is-open {
        flex-grow: 2;
    }

    .le-hover-box.is-open>div:first-child {
        opacity: 0;
        visibility: hidden;
        z-index: 1;
    }

    .le-hover-box.is-open>div:last-child {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }
}

@media (min-width: 768px) and (max-height: 680px) {
    .le-products-title .elementor-heading-title {
        font-size: min(var(--e-global-typography-6a84dda-font-size), 6.5vh) !important;
    }

    .le-products-desc .elementor-heading-title {
        font-size: min(var(--e-global-typography-0711127-font-size), 4.5vh) !important;
    }

    .le-products-section .product-title-wrapper {
        gap: 3vh !important;
    }
}


@media (max-width: 767px) {
    .charm-titles-wrap .elementor-cta__content {
        gap: 0.25rem;
    }

    .charm-titles-wrap .elementor-cta__content .elementor-cta__description {
        text-transform: none !important;
    }

    .LE-product-grids,
    .keep-exploring-mob-slide,
    .hv-image-mob-slider,
    .gallery-wrap {
        /* kill the grid layout, switch to horizontal flex strip */
        display: flex !important;
        grid-template-columns: none !important;
        align-items: flex-end !important;

        /* enable horizontal scrolling + snap */
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* momentum scroll on iOS */

        /* draggable feel */
        cursor: grab;
        /* user-select: none; */

        /* spacing */
        gap: 16px;
        /* bottom padding gives room if you show a scrollbar */

        /* hide scrollbar (optional — remove if you want it visible) */
        /* scrollbar-width: none; */
        /* Firefox */
        width: calc(100% + 1.5rem);
        padding-right: 1.5rem;
        /* margin-left: -20px; */
        -ms-overflow-style: none;
        /* IE/Edge */
    }

    .LE-product-grids::-webkit-scrollbar,
    .keep-exploring-mob-slide::-webkit-scrollbar,
    .hv-image-mob-slider::-webkit-scrollbar,
    .gallery-wrap::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .LE-product-grids:active,
    .keep-exploring-mob-slide:active,
    .hv-image-mob-slider:active,
    .gallery-wrap:active {
        cursor: grabbing;
    }

    .LE-product-grids>*,
    .keep-exploring-mob-slide>*,
    .hv-image-mob-slider>*,
    .gallery-wrap>* {
        flex: 0 0 auto !important;
        width: auto;
        /* how much of the viewport each card takes — tweak */
        max-width: min(75vw, 300px);
        scroll-snap-align: start;
        scroll-snap-stop: always;
        /* forces one-card-at-a-time snapping, prevents flying past cards */
    }

    .seats-slider .swiper-slide {
        transform: scale(1);
    }

    .seats-slider .swiper-slide-active {
        transform: scale(1.4);
    }
}

@media (max-width: 576px) {
    .le-hover-box-wrapper:not(.has-open) .le-hover-box:nth-child(2) {
        flex-grow: 2.6;
    }

    .history-section .history-title-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .history-title:not(.active) .elementor-heading-title {
        opacity: 0;
        visibility: hidden;
    }

    .history-section .history-title-wrapper>div {
        grid-area: 1/1;
    }
}