
/* =========================================================
   PROPERĀ AUSTRIA — LOOKBOOK 2024
   ========================================================= */

/* ---------------------------------------------------------
   CONTAINER
--------------------------------------------------------- */

.propera-lookbook-2024 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 30px 20px 60px !important;
    box-sizing: border-box !important;
}

.propera-lookbook-2024 *,
.propera-lookbook-2024 *::before,
.propera-lookbook-2024 *::after {
    box-sizing: border-box;
}

.propera-lookbook-2024__wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.propera-lookbook-2024__book {
    position: relative;
    display: block !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    perspective: 2500px;
}


/* ---------------------------------------------------------
   SPREAD
--------------------------------------------------------- */

.propera-lookbook-2024__spread {
    position: relative;
    display: none;
    width: 100% !important;
    max-width: 1000px !important;
    aspect-ratio: 2274 / 1600;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden;
    transform-style: preserve-3d;
    background: #f4f4f4;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.13);
}


/* ---------------------------------------------------------
   COVER
--------------------------------------------------------- */

.propera-lookbook-2024__cover {
    position: relative;
    display: block;
    width: min(50%, 500px) !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    aspect-ratio: 1137 / 1600;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.13);
    cursor: pointer;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.propera-lookbook-2024__cover:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.17);
}

.propera-lookbook-2024__cover-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}


/* ---------------------------------------------------------
   PAGES
--------------------------------------------------------- */

.propera-lookbook-2024__page {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.propera-lookbook-2024__page--left {
    left: 0;
}

.propera-lookbook-2024__page--right {
    right: 0;
}

.propera-lookbook-2024__page img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #fff;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}


/* ---------------------------------------------------------
   CENTER SHADOW
--------------------------------------------------------- */

.propera-lookbook-2024__page--left::after,
.propera-lookbook-2024__page--right::after {
    position: absolute;
    top: 0;
    width: 12%;
    height: 100%;
    content: "";
    pointer-events: none;
}

.propera-lookbook-2024__page--left::after {
    right: 0;
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.10),
        transparent
    );
}

.propera-lookbook-2024__page--right::after {
    left: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.10),
        transparent
    );
}


/* ---------------------------------------------------------
   FLIPPING PAGE
--------------------------------------------------------- */

.propera-lookbook-2024__flip {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    display: none;
    width: 50%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    transform-origin: left center;
    transform-style: preserve-3d;
    background: #fff;
}

.propera-lookbook-2024__flip-front,
.propera-lookbook-2024__flip-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.propera-lookbook-2024__flip-front img,
.propera-lookbook-2024__flip-back img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #fff;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.propera-lookbook-2024__flip-back {
    transform: rotateY(180deg);
}


/* ---------------------------------------------------------
   FLIP ANIMATIONS
--------------------------------------------------------- */

.propera-lookbook-2024__book.is-flipping-next
.propera-lookbook-2024__flip {
    display: block;
    animation: propera-lookbook-flip-next
        0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes propera-lookbook-flip-next {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(-180deg);
    }
}

.propera-lookbook-2024__book.is-flipping-prev
.propera-lookbook-2024__flip {
    display: block;
    right: auto;
    left: 0;
    transform-origin: right center;
    animation: propera-lookbook-flip-prev
        0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes propera-lookbook-flip-prev {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(180deg);
    }
}


/* ---------------------------------------------------------
   NAVIGATION
--------------------------------------------------------- */

.propera-lookbook-2024__navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 25px;
    width: 100%;
    max-width: 1000px;
    margin: 24px auto 0 !important;
    padding: 0 !important;
}

.propera-lookbook-2024__arrow {
    display: flex !important;
    flex: 0 0 40px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #8F2A91 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #8F2A91 !important;
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.propera-lookbook-2024__arrow:hover:not(:disabled) {
    background: #762078 !important;
    border-color: #762078 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.propera-lookbook-2024__arrow:disabled {
    opacity: 0.35 !important;
    cursor: default !important;
    transform: none !important;
}

.propera-lookbook-2024__arrow:focus-visible {
    outline: 2px solid #8F2A91 !important;
    outline-offset: 3px;
}

.propera-lookbook-2024__counter {
    min-width: 70px;
    margin: 0;
    color: #062D45;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.propera-lookbook-2024__separator {
    margin: 0 5px;
    opacity: 0.45;
}


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1100px) {
    .propera-lookbook-2024__wrapper,
    .propera-lookbook-2024__book,
    .propera-lookbook-2024__spread {
        max-width: 100% !important;
    }

    .propera-lookbook-2024__cover {
        width: min(60%, 500px) !important;
    }
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 767px) {
    .propera-lookbook-2024 {
        padding: 20px 15px 40px !important;
    }

    .propera-lookbook-2024__wrapper,
    .propera-lookbook-2024__book,
    .propera-lookbook-2024__spread {
        width: 100% !important;
        max-width: 100% !important;
    }

    .propera-lookbook-2024__spread {
        aspect-ratio: 1137 / 1600;
    }

    .propera-lookbook-2024__page {
        width: 100%;
    }

    .propera-lookbook-2024__page--left {
        display: none;
    }

    .propera-lookbook-2024__page--right {
        right: auto;
        left: 0;
    }

    .propera-lookbook-2024__flip {
        width: 100%;
    }

    .propera-lookbook-2024__cover {
        width: 100% !important;
        max-width: 500px !important;
    }

    .propera-lookbook-2024__navigation {
        gap: 20px;
        margin-top: 20px !important;
    }
}


/* ---------------------------------------------------------
   REDUCED MOTION
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .propera-lookbook-2024__cover,
    .propera-lookbook-2024__arrow {
        transition: none !important;
    }

    .propera-lookbook-2024__book.is-flipping-next
    .propera-lookbook-2024__flip,
    .propera-lookbook-2024__book.is-flipping-prev
    .propera-lookbook-2024__flip {
        animation-duration: 0.01ms;
    }
}
