/* =========================================================
   GUEST CART POPUP
   ========================================================= */

.dt-guest-cart-popup {
    position: fixed;
    inset: 0;

    z-index: 12000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;
    pointer-events: none;

    transition: visibility 0s linear 0.4s;
}

.dt-guest-cart-popup.is-open {
    visibility: visible;
    pointer-events: auto;

    transition-delay: 0s;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.dt-guest-cart-popup__overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    padding: 0;
    border: 0;

    background: rgba(14, 14, 14, 0.58);

    opacity: 0;

    transition: opacity 0.35s ease;
}

.dt-guest-cart-popup.is-open .dt-guest-cart-popup__overlay {
    opacity: 1;
}


/* =========================================================
   PANEL
   ========================================================= */

.dt-guest-cart-popup__panel {
    position: relative;
    z-index: 2;

    display: flex;

    width: min(690px, 100%);
    min-height: 625px;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(14, 14, 14, 0.18),
            rgba(14, 14, 14, 0.18)
        ),
        url("../images/popup/discover-prices.png")
        center center / cover no-repeat;

    opacity: 0;

    transform: translateY(18px) scale(0.98);

    transition:
        opacity 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.dt-guest-cart-popup.is-open .dt-guest-cart-popup__panel {
    opacity: 1;

    transform: translateY(0) scale(1);
}


/* =========================================================
   CLOSE
   ========================================================= */

.dt-guest-cart-popup__close {
    position: absolute;

    top: 24px;
    right: 28px;

    z-index: 3;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #fff;

    cursor: pointer;
}

.dt-guest-cart-popup__close span {
    position: absolute;

    left: 8px;
    top: 16px;

    width: 18px;
    height: 1.5px;

    background: #0E0E0E;
}

.dt-guest-cart-popup__close span:first-child {
    transform: rotate(45deg);
}

.dt-guest-cart-popup__close span:last-child {
    transform: rotate(-45deg);
}


/* =========================================================
   CONTENT
   ========================================================= */

.dt-guest-cart-popup__content {
    display: flex;

    width: 100%;
    max-width: 450px;

    padding: 80px 20px 40px;

    flex-direction: column;
    align-items: center;

    text-align: center;

    box-sizing: border-box;
}

.dt-guest-cart-popup__title {
    margin: 0;

    color: #fff;

    font-family: "Scheherazade New", serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 52px;
}

.dt-guest-cart-popup__text {
    margin: 4px 0 24px;

    color: #fff;

    font-family: "Mulish", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.dt-guest-cart-popup__actions {
    display: flex;

    width: 100%;
    max-width: 330px;

    flex-direction: column;

    gap: 20px;
}

.dt-guest-cart-popup__create,
.dt-guest-cart-popup__continue {
    display: flex;

    width: 100%;
    min-height: 52px;

    padding: 10px 22px;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    box-sizing: border-box;

    font-family: "Mulish", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;

    text-align: center;
    text-decoration: none;

    cursor: pointer;
}

.dt-guest-cart-popup__create:hover {
    background: #0E0E0E;
    border: 1px solid white;
    color: white;
}

.dt-guest-cart-popup__create {
    border: 1px solid #E3BA67;

    background: #E3BA67;

    color: #0E0E0E;
}

.dt-guest-cart-popup__continue {
    border: 1px solid #fff;

    background: rgba(14, 14, 14, 0.15);

    color: #fff;
}

.dt-guest-cart-popup__continue:hover {
    background: #0E0E0E;
    border: 1px solid white;
    color: white;
}


/* =========================================================
   BODY
   ========================================================= */

body.dt-guest-cart-popup-open {
    overflow: hidden;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .dt-guest-cart-popup {
        padding: 15px;
    }

    .dt-guest-cart-popup__panel {
        min-height: 540px;

        background-position: center center;
    }

    .dt-guest-cart-popup__close {
        top: 18px;
        right: 18px;
    }

    .dt-guest-cart-popup__content {
        max-width: 360px;

        padding: 75px 18px 30px;
    }

    .dt-guest-cart-popup__title {
        font-size: 37px;
        line-height: 43px;
    }

    .dt-guest-cart-popup__text {
        font-size: 16px;
        line-height: 23px;
    }

    .dt-guest-cart-popup__actions {
        max-width: 290px;
    }

    .dt-guest-cart-popup__create,
    .dt-guest-cart-popup__continue {
        min-height: 48px;

        font-size: 17px;
        line-height: 23px;
    }
}