:root {
    --yellow-rochas:#FCC200;
    --sofia-rochas: 'Sofia pro', sans-serif;
}

.vetements-template-default {
    /* ILLUSION DE MENU BLANC */
    padding-top: 80px; 
}

.product-sheet {
    display:flex;
    flex-direction:column;
}

.swiper-vetement {
    position:relative;
    overflow:hidden;
}

.swiper-vetement .swiper-wrapper {
    max-height:60vh;
    max-width:100%;
}

.slide-vetement img {
    max-height: 60vh;
    object-fit:cover;
}

.swiper-pagination {
    position:absolute;
    bottom:20px;
    left:0;
    right:0;
    display: flex;
    flex-direction:row;
    justify-content:center;
    gap:10px;
}

.swiper-pagination-bullet {
    display:block;
    height:2px;
    width:20%;
    background:#ccc;
}

.swiper-pagination-bullet-active {
    background-color:black;
}

.product-sheet__text-content {
    position: relative;
   padding:40px 30px;
}
.scroller__indicator {
   display: none;
}

.product-sheet__tag {
    display: inline-block;
    border:1px solid var(--yellow-rochas);
    border-radius:20px;
    padding:12px 20px 10px 20px;
    color:var(--yellow-rochas);
    font-family: var(--sofia-rochas);
    font-size:13px;
    line-height:13px;
    text-transform: uppercase;
    font-weight:400;
    margin-bottom:40px;
    width:fit-content;
}

.product-sheet__title {
    display: flex;
    flex-direction:column;
    text-transform: uppercase;
    font-size:28px;
    line-height:33px;
    margin-bottom:40px;
}

.product-sheet__title span {
    font-weight:300;
    font-size:20px;
    line-height:20px;
}

.product-sheet__desc-title {
    font-size:16px;
    text-decoration: underline;
    margin-bottom:20px;
    line-height:16px;
    font-weight:600;
}

.product-sheet__desc {
    font-size:16px;
    line-height:16px;
}

.product-sheet__details {
    font-family: var(--sofia-rochas);
    font-size:14px;
    font-weight:300;
    line-height:18px;
    margin-top:40px;
    
    display:flex;
    flex-direction:column;
    gap:10px;
}

.product-sheet__details span {
    font-weight:400;
}

.product-sheet__btns-container {
    margin-top:60px;
    font-family: var(--sofia-rochas);
}

.product-sheet-btn__container {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
}

.product-sheet__buy-btn {
    font-size:14px;
    font-weight:400;
    line-height:14px;
    text-transform: uppercase;
    cursor:pointer;
}

.product-sheet__buy-btn > span {
    display: flex;
    align-items:center;
    position:relative;
    width:fit-content;
    background: linear-gradient(to left, var(--underline-color, black) 50%, transparent 50%);
    background-size: 200% max(0.04em, 1px);
    background-position: 300% 100%;
    background-repeat: repeat-x;
    padding: 0.3em 0;
    transition: background-position 1s ease 0s;
}
.product-sheet__buy-btn:hover > span {
    background-position: 100% 100%;
}

.product-sheet__buy-btn > span > svg {
    margin-right:10px;
    margin-bottom:4px;
    width:17px;
    height:17px;
}

.visual-content__close-btn {
    position: absolute;
    display: flex;
    width: 20px;
    right:5%;
    height: 20px;
    top: 70px;
    z-index: 1;
    opacity:0;
}

.product-sheet.open .visual-content__close-btn {
    opacity:1;
}

.visual-content__close-btn .vc-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: black;
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(45deg);
}
.visual-content__close-btn .vc-line:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.visual-content__backward {
    position: absolute;
    left: 17px;
    top: 20px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    font-family: var(--sofia-rochas);
    font-size: 12px;
}

/* ==== POP-IN MODAL SHOP ==== */

.main {
    position:relative;
}

.modal-shop {
    position:absolute;
    top:calc(-80px);
    display:flex;
    align-items:center;
    justify-content:center;
    height:100vh;
    width:100%;
    background-color:rgba(0,0,0,0.3);
    transition: opacity 500ms ease-in-out;
    opacity: 0;
    pointer-events: none;
    z-index:3;
}

.modal-shop[data-state="close"] {
    opacity: 0;
    pointer-events: none;
}
.modal-shop[data-state="open"] {
    opacity: 1;
    pointer-events: all;
}
.modal-shop[data-state="open"] .modal-shop__inner {
   transform: translateY(0);
}

.modal-shop svg {
    vertical-align: middle !important;
}
.modal-shop__button-close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}
.modal-shop__button-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: white;
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(45deg);
}
.modal-shop__button-line:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-shop__inner {
    max-height: 90%;
    margin:0px 5%;
    background-color:#fff;
    position:relative;
    transform: translateY(-100%);
    transition: transform 500ms ease-in-out;
}

.modal-shop__inner button {
    position:absolute;
    top:20px;
    right:20px;
}

.modal-shop__inner img {
    height: 30%;
    width:100%;
    aspect-ratio: 355/170;
    object-fit:cover;
    object-position: top;
}

.modal-shop__text-content {
    padding: 30px;
    height:70%;
    display:flex;
    flex-direction:column;
    justify-content: center;
}

.modal-shop__title {
    font-weight:300;
    font-size:26px;
    text-transform:uppercase;
    line-height:26px;
    margin-bottom:30px;
}

.modal-shop__title span {
    font-size:20px;
    line-height:20px;
}

.modal-shop__description {
    line-height:16.75px;
    font-size:16px;
    font-weight:300;
    margin-bottom:30px;
}

.modal-shop__contact {
    font-size:12px;
    line-height: 16px;
    font-family:var(--sofia-rochas);
    font-weight:300;
    display:flex;
    flex-direction:column;
    gap:5px
}

.modal-shop__text-content .product-sheet__buy-btn {
    margin-top:25px;
}

.modal-shop__address {
    text-decoration:underline;
}

.d-none {
    display:none;
}

.modal-shop__contact .product-sheet__buy-btn {
    display:flex;
    flex-direction:row;
    align-items:center;
}

.modal-shop__contact .product-sheet__buy-btn .phone-number-desktop {
    display:none;
}

.phone-number-desktop {
    display: none;
    color:white;
    background-color:black;
    padding: 6px 12px 4px;
    margin-left:40px;
    opacity: 0;
    transition: opacity 400ms ease-in-out;
}

.modal-shop__mail {
    transition: all 0.3s ease-in-out;
}

.modal-shop__mail:hover {
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
}


/* ====== SUGGESTION SLIDER ====== */

.suggestion-product {
    width: 100%;
    height: auto;
    margin-bottom:60px;
}

.suggestion-slider {
    position:relative;
    overflow:hidden;
    padding: 0 5%;
}

.suggestion-product__title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 100px 0 80px;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
}


/* ====== STICKY ====== */

.product-sheet__relative {
    position:relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}


.sticky-product__bar {
    position:sticky;
    bottom:0;
    left:0;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    width: 100%;
    height:80px;
    background-color:white;
    z-index:2;
    -webkit-box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.3); 
    box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.3);
}

.sticky-product__bar img {
    height:80px;
    min-width:80px;
    width:80px;
    object-fit:cover;
}

.sticky-product__bar .product-sticky__content {
    width:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-left:20px;
}

.sticky-product__bar .product-sticky__content h1 {
    font-size:20px;
    line-height:20px;
    font-weight:300;
    margin-bottom:5px;
}

.sticky-product__bar .product-sticky__content p {
    font-family:var(--sofia-rochas);
    font-size:14px;
    line-height:14px;
    font-weight:400;
}

.sticky-product__bar .product-sheet__buy-btn {
    display:flex;
    align-items:center;
    background-color:black;
    color:white;
    padding:0px 30px;
}

.sticky-product__bar > .product-sheet__buy-btn > span {
    display: flex;
    align-items:center;
    position:relative;
    width:fit-content;
    font-family:var(--sofia-rochas);
    font-size:14px;
    font-weight:400;
    line-height:14px;
    text-transform: uppercase;
}

.sticky-product__bar > .product-sheet__buy-btn > span::after {
    content:'';
    position:absolute;
    bottom:-5px;
    left:0;
    width:100%;
    background-color:black;
    height:1px;
}

.sticky-product__bar > .product-sheet__buy-btn > span > svg {
    margin-right:10px;
    margin-bottom:5px;
    width:17px;
    height:17px;
}

.sticky-product__bar > .product-sheet__buy-btn > span > svg > path {
    fill:#ffffff;
}

/* STICKY BAR SUR LE ZOOM PRODUIT */

.stickybar-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index:2;
}


/* TEST */
  @media screen and (max-width: 768px) {
    body {
        transition: padding 500ms ease-in-out ;
    }
    .no-scroll {
        padding-top: 0;
    }
    .product-sheet.open .product-sheet__visual-content {
        width: 100%;
        height: 100vh;
        z-index: 2;
    } 
     .product-sheet__visual-content.fixed {
        position: relative;
     }
    .product-sheet__visual-content.fixed .swiper-vetement .swiper-wrapper {
        height: 100vh;
        max-width: 100%;
        max-height: inherit;
        flex-direction: column;
        overflow: auto;
    }
    
    .product-sheet__visual-content.fixed .slide-vetement img {
        max-height: inherit;
        height:100%;
        width: 100%;
    }
     
    /*.product-sheet__visual-content.fixed {*/
    /*    position: fixed;*/
    /*    top: 0;*/
    /*    z-index: 3;*/
        /* SET POPIN OVER CONTENT */
    /*    left: 0;*/
    /*    overflow: scroll;*/
    /*}*/
  }
/* TEST */

@media screen and (min-width: 768px) {
    .vetements-template-default {
        padding-top: 0;
    }
    .product-sheet {
        flex-direction: row;
        justify-content: flex-end;
        width: 100%;
    }
    .product-sheet__visual-content,
    .product-sheet__text-content {
        width:50%;
    }
    
    .visual-content__backward {
        left: 61px;
        top: 100px;
        font-size: 14px;
        gap: 15px;
    }
    
    .scroller__indicator {
        display: block;
        position: absolute;
        left: 0;
        bottom: 10%;
        transform: translate(-50%, 0);
        animation:linear 1s infinite alternate upDown; 
    }
    
    @keyframes upDown {
       from {
        transform: translate(-50%, 0);
      }
    
      to {
        transform: translate(-50%, 30px);
      }
    }
    
    .swiper-vetement .swiper-wrapper {
        max-height:unset;
        display:flex;
        flex-direction:column;
        overflow:unset;
    }
    .swiper-pagination {
        display: none;
    }
    
    .product-sheet__visual-content {
        transition: width 600ms ease-in-out;
        cursor: zoom-in;
    }
    
    .product-sheet.open .product-sheet__visual-content {
        width: 100%;
        height: calc(100vh - 60px);
        cursor: zoom-out;
    } 
    .product-sheet__visual-content.fixed {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 3; /* SET POPIN OVER CONTENT */
        overflow: scroll;
    }
    
    .visual-content__close-btn {
        margin-right: 50px;
        top: 150px;
        left:95%;
        opacity: 0;
        transition: opacity 200ms ease-in-out;
    }
    @keyframes closeBtnAnimation {
        0% {
           opacity:0;
        }
        99% {
            opacity:0;
        }
        100% {
            opacity:1;
        }
    }
    .product-sheet__visual-content.fixed .visual-content__close-btn {
        opacity: 1;
        position: sticky;
        cursor: pointer;
        margin-bottom: -20px; /*OUT PASS STICKY NATIVE SPACE*/
    }
    .product-sheet.open .product-sheet__visual-content .visual-content__close-btn {
        animation-name: closeBtnAnimation;
        animation-duration: 0.8s;
    }
/*    .product-sheet .product-sheet__visual-content .visual-content__close-btn {
        opacity: 0;
    }*/
    
    .slide-vetement {
        width: 100% !important;
    }
    .slide-vetement img {
        object-fit:cover;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        max-height:unset;
    }
    .product-sheet__text-content {
        display:flex;
        flex-direction:column;
        justify-content:center;
        height:100vh;
        position:sticky;
        top:0;
        padding:0px 70px;
    }
    .product-sheet__title {
        font-size:40px;
        line-height:48px;
    }
    .product-sheet__title span {
        font-size:26px;
        line-height:28px;
    }
    .product-sheet__desc {
        width:80%;
    }
    
    .modal-shop {
        top:0;
    }
    .modal-shop__inner {
        display:flex;
        flex-direction:row;
        width:70%;
        overflow:hidden;
    }
    .modal-shop__button-line {
        background: black;
    }
    .phone-number-desktop {
        display: inline-block;
    }

    .phone-number-desktop.show {
        opacity: 1;
    }
    .modal-shop__inner img {
        width:50%;
        height:auto;
        aspect-ratio: inherit;
        object-fit-position: inherit;
    }
    .modal-shop__text-content {
        width:50%;
        height:100%;
        display: flex;
        align-self: center;
    }
}


@media screen and (min-width: 1200px) {
    .product-sheet__desc {
        width:60%;
    }
}
