
.square3d {
    width: 100%;
    height: auto;
    perspective: 400px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.square3d-container {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-0px);
    transition: transform 1s;
    top:0;
    left:0;
}

.square3d-container {
    transform: translateZ(-0px) rotateY(0deg);
}

.square3d-container.active {
    transform: translateZ(-0px) rotateY(-180deg);
}

.square3d-face {
    position: absolute;
    width: 200px;
    height: 200px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    text-align: center;
    background:var(--plancherspayless-primary-color);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.square3d-face.grey {
    background:#222222;
}

.square3d-face--front {
    transform: rotateY(0deg) translateZ(1px);
}

.square3d-face--back {
    transform: rotateY(180deg) translateZ(1px);
}

.square3d-face div {
    color:white !important;
}
.square3d-face .from {
    font-size: 20px;
    line-height: 20px;
}
.square3d-face .price {
    font-size: 60px;
    line-height: 60px;
}
.square3d-face .unit {
    font-size: 20px;
    line-height: 20px;
}
.square3d-face .percent {
    font-size: 80px;
    line-height: 80px;
}
.square3d-face .text2 {
    font-size: 15px;
    line-height: 15px;
}
.square3d-face .text3 {
    font-size: 30px;
    line-height: 30px;
}

.promo-shadow{
    overflow:hidden;
}

.promo-shadow:before {
    content: "";
    background: #222222;
    width: 100%;
    height: 100%;
    position: absolute;
    top: -50%;
    left: -50%;
    z-index: 90;
    transform: rotate(-45deg);
    opacity: 0.75;
}

@media (max-width:1024px){
    .promo-shadow:before {
        top: -65%;
        left: -65%;
    }
}


.visible-overflow {
    overflow:visible !important;
}

.image-promo {
    position:relative;
}

.image-promo:after {
    content:"";
    position:absolute;
    left:10px;
    top:10px;
    width:100%;
    height:100%;
    background:#C2BD88;
}