﻿
/* Popups */

.popup-wrapper {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding-top: .7rem;
    padding-bottom: .7rem;
    text-align: center;
    overflow: auto;
    background-color: rgba(0,0,0,.8);
    z-index: 20;
}

    .popup-wrapper:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        width: 0;
        height: 100%;
    }


    .popup-wrapper.active .popup-container {
        transform: scale(1);
        transition: transform 0.3s ease;
    }

.popup-container {
    transform: scale(0);
    transition: transform 0.3s ease;
}

.popup-wrapper.active .popup-container {
    transform: scale(1);
}

.popup-container {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 4.07rem;
    padding: .3rem;
    border-radius: .02rem;
    background-color: white;
    transition: transform 0.3s ease;
    transform: scale(0); /* başlangıçta görünmez */
}

    .popup-container .icon {
        position: relative;
        display: block;
        width: .6rem;
        height: .6rem;
        margin-left: auto;
        margin-right: auto;
        border-radius: .3rem;
        border: 1px solid #f2222e;
    }

        .popup-container .icon img {
            position: absolute;
            width: .22rem;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            -webkit-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            -moz-transform: translate(-50%, -50%);
            -o-transform: translate(-50%, -50%);
        }

    .popup-container .title {
        font-weight: 500;
        font-size: .24rem;
        line-height: 1.2em;
        letter-spacing: -.017em;
        color: #3E3E3C;
        text-align: center;
    }

    .popup-container * + .title {
        margin-top: .12rem;
    }

    .popup-container .text {
        font-size: .14rem;
        line-height: 1.5em;
        letter-spacing: -.014em;
        color: #888888;
        text-align: center;
    }

    .popup-container * + .text {
        margin-top: .08rem;
    }

    .popup-container .text p + p {
        margin-top: 1.5em;
    }

    .popup-container * + .btn {
        margin-top: .3rem;
    }

    .popup-container .popup-header {
        margin: -.3rem;
        margin-bottom: 0;
        padding: .3rem;
        background-color: #FAFAFA;
        border-bottom: 1px solid #E5E5E5;
    }

        .popup-container .popup-header .title {
            font-size: .2rem;
            padding-right: .24rem;
        }

        .popup-container .popup-header .popup-close {
            position: absolute;
            width: .18rem;
            top: .31rem;
            right: .3rem;
        }

            .popup-container .popup-header .popup-close img {
                width: 100%;
            }

    /* Content */

    .popup-container.content {
        width: 8rem;
    }

        .popup-container.content .text {
            text-align: left;
        }

        .popup-container.content * + .text {
            margin-top: .24rem;
        }


    /* Image */
    .popup-container .image {
        margin: -.3rem;
    }

        .popup-container .image img {
            width: 100%;
        }


    /* Confirm */

    .popup-container.confirm * + .actions {
        margin-top: .3rem;
    }

    .popup-container.confirm .btn {
        display: inline-block;
        vertical-align: middle;
        width: calc(50% - .1rem);
        margin-top: 0 !important;
    }

        .popup-container.confirm .btn:nth-child(2n) {
            margin-left: .2rem;
        }

        .popup-container.confirm .btn:nth-child(n+3) {
            margin-top: .2rem;
        }


/* Popup Promotion */

.popup-wrapper.promotion .title,
.popup-wrapper.promotion .text,
.popup-wrapper.promotion .form-item {
    text-align: left;
}

.popup-wrapper.promotion * + .form-item {
    margin-top: .5rem;
}

.popup-wrapper.promotion .form-item .input-default:after {
    content: '';
    position: absolute;
    width: .16rem;
    height: .16rem;
    top: 50%;
    right: .2rem;
    margin-top: -.08rem;
    z-index: 2;
    background-image: url(Icons/icon-discount.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.popup-wrapper.promotion .form-item .input-default,
.popup-wrapper.promotion .form-item input {
    background: transparent;
}


/* Popup Tag */

.popup-wrapper.tag .popup-container {
    width: 6.3rem;
}

.popup-wrapper.tag .title,
.popup-wrapper.tag .text,
.popup-wrapper.tag .form-item {
    text-align: left;
}

.popup-wrapper.tag .tags {
    margin-top: .3rem;
}

.popup-wrapper.tag .product + .product {
    margin-top: .36rem;
}

.popup-wrapper.tag .product .image {
    display: inline-block;
    vertical-align: middle;
    width: .96rem;
    height: .96rem;
    margin: 0 !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.popup-wrapper.tag .product .info {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - .96rem);
    padding-left: .2rem;
    text-align: left;
}

    .popup-wrapper.tag .product .info .name {
        font-weight: 500;
        font-size: .16rem;
        line-height: 1.2em;
        color: #3E3E3C;
    }

    .popup-wrapper.tag .product .info .options {
        font-size: .14rem;
        line-height: 1.2em;
        letter-spacing: -.014em;
        color: #888888;
    }

    .popup-wrapper.tag .product .info * + .options {
        margin-top: .03rem;
    }

    .popup-wrapper.tag .product .info .form-item {
        margin-top: .09rem;
    }

        .popup-wrapper.tag .product .info .form-item .input-default {
            border: none;
            background-color: #F5F5F5;
        }

            .popup-wrapper.tag .product .info .form-item .input-default input {
                background-color: #F5F5F5;
                box-shadow: 0 0 0 1rem #F5F5F5 inset !important;
                -webkit-box-shadow: 0 0 0 1rem #F5F5F5 inset !important;
            }

/* Popup Contact Us */


.popup-wrapper.contact-us .form-item + .form-item {
    margin-top: .1rem;
}

.popup-wrapper.contact-us * + .form {
    margin-top: .2rem;
}

.popup-wrapper.contact-us .title,
.popup-wrapper.contact-us .text,
.popup-wrapper.contact-us .form {
    text-align: left;
}

/* Popup Address */

.popup-wrapper.add-address .title,
.popup-wrapper.add-address .form {
    text-align: left;
}

.popup-wrapper.add-address * + .form {
    margin-top: .25rem;
}

.popup-wrapper.add-address .form-item + .form-item,
.popup-wrapper.add-address * + .activate-selected {
    margin-top: .1rem;
}

.popup-wrapper.add-address .billing-type {
    margin-top: .24rem;
}

.popup-wrapper.add-address .billing-type-title {
    margin-bottom: .1rem;
    font-weight: 500;
    font-size: .14rem;
    line-height: 1.2em;
    letter-spacing: -.007em;
    color: #3E3E3C;
}

.popup-wrapper.add-address .radio-box {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - .05rem);
}

    .popup-wrapper.add-address .radio-box:nth-child(2n) {
        margin-left: .1rem;
    }

    .popup-wrapper.add-address .radio-box:nth-child(n+3) {
        margin-top: .1rem;
    }


/* Popup Helper */

.popup-wrapper.helper .popup-header .title {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    text-align: left;
}

.popup-wrapper.helper .popup-header .subtitle {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    padding-top: .04rem;
    font-weight: 500;
    font-size: .15rem;
    line-height: 1.2em;
    letter-spacing: -.014em;
    color: #9E9E9E;
    text-align: right;
}

.popup-wrapper.helper .image {
    width: 100%;
}

.popup-wrapper.helper * + .image {
    margin-top: .48rem;
}


/* Popup Share */

.popup-wrapper.share .popup-container {
    padding: 0;
    padding-bottom: .3rem;
}

.popup-wrapper.share .intro {
    position: relative;
    padding: .3rem;
    text-align: left;
    background-color: #FAFAFA;
}

    .popup-wrapper.share .intro .title {
        position: absolute;
        width: calc(100% - 1.86rem);
        top: .3rem;
        left: .3rem;
        font-weight: 500;
        font-size: .24rem;
        line-height: 1.2em;
        letter-spacing: -.017em;
        color: #3E3E3C;
        text-align: left;
    }

    .popup-wrapper.share .intro .product {
        display: inline-block;
        vertical-align: bottom;
        width: calc(100% - 1.26rem);
        padding-top: .3rem;
    }

        .popup-wrapper.share .intro .product .name {
            font-weight: 500;
            font-size: .16rem;
            line-height: 1.2em;
            color: #3E3E3C;
        }

        .popup-wrapper.share .intro .product .description {
            font-size: .14rem;
            line-height: 1.57em;
            letter-spacing: -.014em;
            color: #888888;
        }

        .popup-wrapper.share .intro .product * + .description {
            margin-top: .04rem;
        }

    .popup-wrapper.share .intro img {
        display: inline-block;
        vertical-align: bottom;
        width: 1.26rem;
        background-color: white;
        border: 1px solid #F5F5F5;
    }

.popup-wrapper.share .popup-close {
    width: calc(100% - .6rem);
    margin-left: .3rem;
    margin-right: .3rem;
    margin-top: .3rem;
}

.popup-wrapper.share .items {
    position: relative;
    text-align: left;
}

    .popup-wrapper.share .items a {
        position: relative;
        display: block;
        padding-left: .3rem;
        padding-right: .3rem;
        padding-top: .25rem;
        padding-bottom: .25rem;
    }

        .popup-wrapper.share .items a:before {
            content: '';
            display: inline-block;
            vertical-align: middle;
            width: .2rem;
            height: .2rem;
            margin-right: .1rem;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
        }

        .popup-wrapper.share .items a:after {
            content: '';
            position: absolute;
            top: 50%;
            right: .3rem;
            width: .16rem;
            height: .16rem;
            margin-top: -.08rem;
            background-image: url(Icons/icon-right.svg);
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
        }

        .popup-wrapper.share .items a span {
            display: inline-block;
            vertical-align: middle;
            font-size: .14rem;
            line-height: 1.2em;
            letter-spacing: -.014em;
            color: #888888;
        }

        .popup-wrapper.share .items a.facebook:before {
            background-image: url(Icons/icon-facebook.svg);
        }

        .popup-wrapper.share .items a.messenger:before {
            background-image: url(Icons/icon-messenger.svg);
        }

        .popup-wrapper.share .items a.twitter:before {
            background-image: url(Icons/icon-twitter.svg);
        }

        .popup-wrapper.share .items a.whatsapp:before {
            background-image: url(Icons/icon-whatsapp.svg);
        }

        .popup-wrapper.share .items a.mail:before {
            background-image: url(Icons/icon-mail.svg);
        }

        .popup-wrapper.share .items a.facebook:hover:before {
            background-image: url(Icons/icon-facebook-colored.svg);
        }

        .popup-wrapper.share .items a.messenger:hover:before {
            background-image: url(Icons/icon-messenger-colored.svg);
        }

        .popup-wrapper.share .items a.twitter:hover:before {
            background-image: url(Icons/icon-twitter-colored.svg);
        }

        .popup-wrapper.share .items a.whatsapp:hover:before {
            background-image: url(Icons/icon-whatsapp-colored.svg);
        }

        .popup-wrapper.share .items a.messenger,
        .popup-wrapper.share .items a.whatsapp {
            display: none;
        }


/* Cookie Info */

.cookie-info {
    position: fixed;
    width: 13rem;
    max-width: 100%;
    left: 50%;
    bottom: 0;
    padding: .12rem;
    margin-left: -6.5rem;
    z-index: 10;
    border-radius: .03rem .03rem 0 0;
    background-color: white;
    box-shadow: 0 0 .4rem rgba(0,0,0,.125);
}

    .cookie-info .text {
        width: calc(100% - 1rem);
        padding-left: .12rem;
        padding-right: .4rem;
        font-size: .14rem;
        line-height: 1.57em;
        letter-spacing: -.014em;
        color: #888888;
    }

        .cookie-info .text a {
            color: #3E3E3C;
        }

            .cookie-info .text a:hover {
                text-decoration: underline;
            }

    .cookie-info .btn {
        display: inline-block;
        width: 1rem;
    }

/* The End */
