.cuvees-slider-block{
    position: relative;
    margin-top: var(--mt-mobile, 0);
    margin-bottom: var(--mb-mobile, 0);
    background-color: var(--wp--preset--color--bordeau);
    display: flex;
    width: 100%;
    height: 100vh;
}
@media (min-width: 851px) {
    .cuvees-slider-block {
        margin-top: var(--mt-desktop, 0);
        margin-bottom: var(--mb-desktop, 0);
    }
}
.cuvees-slider-inner{
    display: flex;
    width: 100%;
    position: relative;
    min-height: 100%;
}
.cuvees-slider-content{
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 5rem 150px 5rem var(--gutters);
}
.cuvees-slider-subtitle,
.cuvees-slider-title,
.cuvees-slider-title p{
    margin: 0;
    line-height: 1;
}
.cuvees-slider-subtitle,
.cuvees-slider-title,
.cuvees-slider-technical-sheets,
.cuvees-slider-lore,
.cuvees-mobile-cuvee-title-name {
    opacity: 1;
    transition: opacity 500ms ease-in-out;
    will-change: opacity;
}
.cuvees-slider-subtitle{
    margin-bottom: 0.5rem;
}
.cuvees-slider-title{
    margin-bottom: 1rem;
}
.cuvees-slider-technical-sheets{
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.cuvees-slider-technical-sheets .is-style-montrose-button{
    position: relative;
    z-index: 1;
}
.cuvees-slider-technical-sheets .is-style-montrose-button a{
    padding: 1rem 2rem;
    background-color: var(--wp--preset--color--bordeau);
    color: var(--wp--preset--color--background);
    background-image: linear-gradient(var(--wp--preset--color--blanc), var(--wp--preset--color--blanc));
}
.cuvees-slider-technical-sheets .is-style-montrose-button .montrose-button__shape{
    background-color: var(--wp--preset--color--blanc);
}
.cuvees-slider-technical-sheets .is-style-montrose-button a:hover, .cuvees-slider-technical-sheets .is-style-montrose-button.active a{
    color: var(--wp--preset--color--bordeau);
}
.cuvees-slider-lore-wrapper{
    position: relative;
    width: 100%;
}
.cuvees-slider-lore{
    margin-top: 4rem;
    height: 200px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cuvees-slider-lore::-webkit-scrollbar{
    width: 0;
    height: 0;
    display: none;
}
.cuvees-slider-lore-scroller{
    position: absolute;
    top: 5.5rem;
    left: -2rem;
    width: 2px;
    height: 150px;
    background: #8c505f;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.cuvees-slider-lore-scroller.is-disabled{
    opacity: 0.35;
    pointer-events: none;
}
.cuvees-slider-lore-scroller span{
    width: 8px;
    height: 12px;
    clip-path: polygon(50% 0px, 100% 25%, 100% 75%, 50% 100%, 0px 75%, 0px 25%);
    background: #8c505f;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 2;
    cursor: grab;
    touch-action: none;
}
.cuvees-slider-lore-scroller span.is-dragging{
    cursor: grabbing;
}
.cuvees-slider-bottles{
    display: flex;
    height: 80vh;
    max-height: 700px;
    width: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}
.cuvees-slider-bottles img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cuvees-slider-bottles{
    opacity: 1;
    transition: opacity 500ms ease-in-out;
    will-change: opacity;
}
.cuvees-slider-menu{
    display: flex;
    flex-direction: column;
    width: 50%;
    position: relative;
}
.cuvee-slider-bkg-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cuvee-bkg-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 500ms ease-in-out;
}

.cuvee-bkg-layer img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cuvee-bkg-layer.is-current {
    opacity: 1;
    z-index: 2;
}
.cuvees-slider-nav{
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 460px;
    min-width: 320px;
    aspect-ratio: 1 / 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    clip-path: polygon(68% 0, 90% 20%, 100% 50%, 89% 84%, 66% 100%, 34% 100%, 12% 83%, 0 50%, 13% 19%, 35% 0);
    z-index: 2;
    gap: 2rem;
}
.cuvees-slider-nav::before{
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='68,0 90,20 100,50 89,84 66,100 34,100 12,83 0,50 13,19 35,0' fill='none' stroke='%238c505f' stroke-width='4' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    pointer-events: none;
}
.cuvees-slider-link-wrap a{
    color: #8c505f;
    text-decoration: none;
    font-size: var(--wp--preset--font-size--size-18);
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    text-align: center;
}
.cuvees-slider-link-wrap a::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #8c505f;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.cuvees-slider-link-wrap.is-active a{
    color: var(--wp--preset--color--blanc);
}
.cuvees-slider-link-wrap.is-active a::before{
    transform: scaleX(1);
    transform-origin: left;
}
.cuvees-slider-link-wrap:hover a::before{
    transform: scaleX(1);
    transform-origin: left;
}
.cuvees-slider-technical-sheets-list{
    display: inline-flex;
    width: fit-content;
    box-sizing: border-box;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 0;
    isolation: isolate;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 240ms ease, opacity 240ms ease;
    pointer-events: none;
}
.cuvees-slider-technical-sheets .is-style-montrose-button.active + .cuvees-slider-technical-sheets-list{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.cuvees-slider-technicals-sheets-slider{
    display: flex;
    width: 100%;
    background-color: var(--wp--preset--color--bordeau);
    border: 0;
    border-radius: 0;
    clip-path: polygon(8% 0, 92% 0, 100% 30%, 100% 70%, 92% 100%, 8% 100%, 0 70%, 0 30%);
    padding: 1rem;
    transition: var(--transition);
    font-weight: 600;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    color: var(--wp--preset--color--bordeau);
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 1;
    line-height: 1;
}
.cuvees-slider-technicals-sheets-slider a{
    font-size: 12px;
    color: var(--wp--preset--color--background);
}
.cuvees-slider-technicals-sheets-slider-shape{
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    clip-path: polygon(8% 0, 92% 0, 100% 30%, 100% 70%, 92% 100%, 8% 100%, 0 70%, 0 30%);
    padding: 0.65rem 1.6rem;
    background-color: var(--wp--preset--color--blanc);
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    z-index: 0;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
}
.cuvees-slider-technicals-sheets-arrow{
    width: 12px;
    height: 12px;
    cursor: pointer;
    flex-shrink: 0;
}
.cuvees-slider-technicals-sheets-arrow.arrow-left{
    background-image: url(../../../assets/svg/tiny-arrow-left.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.cuvees-slider-technicals-sheets-arrow.arrow-right{
    background-image: url(../../../assets/svg/tiny-arrow-right.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.cuvees-slider-slide-wrap{
    display: flex;
    width: 100%;
    overflow: hidden;
}
.cuvees-slider-slide-wrap.no-arrows{
    justify-content: space-around;
}
.cuvees-slider-slide{
    display: flex;
    transition: transform 240ms ease;
    flex-wrap: nowrap;
}
.cuvees-slider-slide a{
    width: 33%;
    flex: 0 0 33%;
}
.cuvees-slider-technicals-sheets-arrow.is-hidden{
    display: none;
}
.cuvees-arrow{
    display: none;
}
.cuvees-mobile-nav{
    display: none;
}
.cuvees-mobile-modal{
    display: none;
}
.cuvees-mobile-cuvee-title-name{
    font-family: var(--wp--preset--font-family--gotham-medium);
    font-size: var(--wp--preset--font-size--size-16);
    line-height: 1.5;
    color: var(--wp--preset--color--background);
    text-transform: uppercase;
    padding-bottom: 1rem;
}
@media (max-width: 768px) {
    .cuvees-slider-block{
        background-color: var(--wp--preset--color--blanc);
        min-height: 100vh;
        height: auto;
    }
    .cuvees-slider-content{
        display: none;
    }
    .cuvees-slider-menu{
        width: 100%;
    }
    .cuvee-slider-bkg-img{
        clip-path: polygon(68% 0, 90% 20%, 100% 50%, 89% 84%, 66% 100%, 34% 100%, 12% 83%, 0 50%, 13% 19%, 35% 0);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 250px;
        height: 70vh;
        max-height: 300px;
    }
    .cuvees-slider-nav{
        display: none;
    }
    .cuvees-slider-bottles{
        max-height: 400px;
    }
    .cuvees-arrow{
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        z-index: 5;
        border: 0;
        border-color: transparent;
        border-radius: 0;
        background-color: transparent;
        color: var(--wp--preset--color--blanc);
        line-height: 1;
        padding: 0;
    }
    .cuvees-arrow-prev{
        left: 1rem;
        background-image: url(../../../assets/svg/arrow-left.svg);
    }
    .cuvees-arrow-next{
        right: 1rem;
        background-image: url(../../../assets/svg/arrow-right.svg);
    }
    .cuvees-mobile-nav{
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        gap: 1rem;
        width: max-content;
        z-index: 1;
    }
    .cuvees-mobile-cuvee-name{
        display: flex;
        flex-wrap: nowrap;
        margin: 0;
        text-transform: uppercase;
        font-size: 15px;
        font-weight: 500;
        line-height: 17px;
        letter-spacing: 1.5px;
    }
    .cuvees-mobile-modal{
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background-color: rgba(11, 11, 11, 0.9);
        z-index: 0;
        padding: 2rem var(--gutters);
        opacity: 0;
        transition: opacity 240ms ease-in-out;
        pointer-events: none;
        min-height: 100dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        align-items: center;
    }
    .cuvees-mobile-modal.is-open{
        opacity: 1;
        pointer-events: all;
        z-index: 999;
    }
    html.cuvees-mobile-modal-open,
    body.cuvees-mobile-modal-open{
        overflow: hidden;
    }
    .cuvees-mobile-bkg-image{
        width: 100%;
    }
    .cuvees-mobile-bkg-image img{
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .cuvees-mobile-bkg-image{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    .cuvees-mobile-bkg-image img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .cuvees-description, .cuvees-assembly, .cuvees-dates, .cuvees-comments {
        border-bottom: 1px solid var(--wp--preset--color--background);
        color: var(--wp--preset--color--background)!important;
        width: 100%;
    }
    .cuvees-description *, .cuvees-assembly *, .cuvees-dates *, .cuvees-comments * {
        color: var(--wp--preset--color--background)!important;
    }
    .cuvees-mobile-modal-close{
        border: 0;
        border-color: none;
        border-radius: 0;
        background: transparent;
        color: var(--wp--preset--color--background);
        line-height: 1;
        padding: 0;
        padding-bottom: 0.5rem;
        border-bottom: solid 1px var(--wp--preset--color--background);
        width: fit-content;
        margin-bottom: 1rem;
    }
    .cuvees-mobile-bkg-image::after{
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(11, 11, 11, 0.5);
    }
    .cuvees-slider-lore{
        margin-top: 1rem;
        height: 250px;
        padding-left: 1rem;
    }
    .cuvees-slider-subtitle{
        display: flex;
        width: 100%;
    }
    .cuvees-slider-title{
        display: flex;
        width: 100%;
    }
    .cuvees-slider-technical-sheets{
        width: 100%;
    }
    .cuvees-slider-lore-scroller{
        left: 0;
        top: 2rem;
    }
    
    .cuvees-slider-technical-sheets .is-style-montrose-button a:hover {
        color: var(--wp--preset--color--blanc);
    }
    .cuvees-slider-technical-sheets .is-style-montrose-button.active a {
        background-size: 100% 100%;
        color: var(--wp--preset--color--bordeau);
    }
}