
.symPopin {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    min-height: 100%;
    padding: 15px 0;
    z-index: 3000;
    overflow: auto;
}

.symPopin.--hide {
    pointer-events: none;
}

.symPopin.--hide .symPopin__shadow {
    pointer-events: none;
    opacity: 0;
}

.symPopin.--hide .symPopin__modal {
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
}

.symPopin__shadow {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 10;
    background: rgba(49, 50, 47, 0.5);
    cursor: pointer;
    transition: opacity 0.3s;
}

.symPopin__modal {
    position: relative;
    z-index: 15;
    display: flex;
    flex-direction: column;
    width: 95%;
    max-width: 320px;
    margin: auto;
    background: #FFF;
    transition: opacity 0.3s, transform 0.3s;
}

.symPopin__image {
    flex: 1;
    position: relative;
    display: block;
    /*min-height: 35vh;*/
    line-height: 0;
    background-color: #f8f8f8;
    overflow: hidden;
    max-width: 320px;
}

.symPopin__image:after {
    content: '';
    display: block;
    padding-bottom: 56.25%;
}

.symPopin__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity .3s;
    z-index: 1;
}

.symPopin__image img.lazyloaded {
    opacity: 1;
}

.symPopin__content {
    position: relative;
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.symPopin__content.--align-center {
    text-align: center;
}
.symPopin__content.--align-right {
    text-align: right;
}

.symPopin__cross {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    color: #31322F;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    appearance: none;
    transition: all 0.3s;
}

.symPopin__cross:hover,
.symPopin__cross:focus {
    background-color: #000;
    color: #FFF;
}

.symPopin__cross:before,
.symPopin__cross:after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background-color: currentColor;
    margin-top: -1px;
    margin-left: -9px;
}
.symPopin__cross:before {
    transform: rotate(-45deg);
 }
.symPopin__cross:after {
    transform: rotate(45deg);
}

.symPopin.--cartWarning {
    text-align: center;
}

.symPopin__title {
    font-family: "La Grolet", sans-serif;
    font-size: 24px;
    line-height: 1.1875;
    color: #000;
    margin-bottom: 15px;
    text-align: center;
}

.symPopin__subtitle {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.59;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.symPopin__description {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.33;
    margin-bottom: 20px;
}

.symPopin__description p:not(:last-child) {
    margin-bottom: 10px;
}

.symPopin__button {
    display: inline-block;
    cursor: pointer;
    color: #FFF;
    text-transform: uppercase;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: #000;
    border: 1px solid #000;
    border-radius: 0;
    box-shadow: none;
    appearance: none;
    transition: all 0.3s;
}

.symPopin__file{
    font-size: 12px;
    margin-top: 20px;
    text-decoration: underline;
    text-transform: uppercase;
}

.symPopin__button:hover,
.symPopin__button:focus {
    background: #FFF;
    color: #000;
}

@media screen and (min-width: 768px) {
    .symPopin.--cartWarning .symPopin__content {
        padding: 40px 3rem 3rem;
    }

    .symPopin__modal {
        flex-direction: row;
        max-width: 740px;
    }

    .symPopin__image {
        min-height: 0;
    }

    .symPopin__image:after {
        padding-bottom: 112.5%;
    }

    .symPopin__title {
        font-size: 32px;
    }

    .symPopin__subtitle {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .symPopin__content {
        padding: 40px 20px 20px;
    }
    
    .symPopin__file{
        font-size: 12px;
    }
}
