.gfx-section { 
    width: 100%;
}

.main-container-editor{
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
}

.gfx-product-options-container{
    max-height: 900px;
    margin-bottom: 2rem;
}

@media (max-width: 800px) {
    .main-container-editor{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .gfx-editor-container{
        width: 100%;
    }
    .gfx-editor-container iframe{
        min-height: 380px;
        width: 100%;
    }
}


/** NEW CODE **/

.main-container-scope{
    width: 90%;
    margin: 0 auto;
    display:flex;
    flex-direction:row;
    justify-content:space-around;
    align-items: start;
    flex-wrap: wrap;
}


.col-preview-template{
    padding: 1rem;
    height: 100%;
}

.col-preview-template .preview-template-img{
    min-width: 21rem;
    min-height: 400px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.title-section{
    margin-top: 2rem;
}

.title-section span{
    font-size: 1rem;
    background-color: var(--label_background_color);
    padding: 1rem 2rem; 
    color: white; 
    font-weight: 600;
}

.title-section h2{
    margin: 15px 0px;
}

.quantity-section-picker{
    display: flex;
}


.quantity-section-picker p{
    margin: 5px 10px;
} 

.quantity-button{
    width: 4rem;
    height: 4rem;
    font-size: 2rem;
    background-color: white;
    border:  none;
}

.customize-section button{
    margin: 5px 0px;
    height: 3rem;
    width: 12rem;
    padding: 5px;
    border-radius: 0px;
    border: none;
    cursor: pointer;
    background-color: var(--principal-background-color);
    color: white;
}

.add-to-cart-section button{
    margin: 5px 0px;
    height: 3rem;
    width: 12rem;
    padding: 5px;
    border-radius: 0px;
    border: none;
    cursor: pointer;
    background-color: var(--principal-background-color);
    color: white;
}

.final-sale-checkbox input,
.final-sale-checkbox p {
    display: inline-block;
    margin: 0px 1px;
    font-size: 1.2rem;
}

.final-sale-checkbox h1, h2, h3, h4, h5, h6 {
    margin: 0px 1px;
}

.final-sale-checkbox input {
    margin-top: 5px;
    width: 16px;
}

.variations-size-component{
    margin: 25px 0;
}

.quantity-section span,
.variations-size-component span{
    font-size: 1rem;
}

.variations-size-component span{
    display: block;
    margin: .5rem 0;
}

.variations-size-component .size-item{
    display: inline;
    border: none; 
    background-color: white;
    max-width: 5rem;
    height: 4rem;
    cursor: pointer;
    font-weight: 600;
}

.variations-size-component .size-item.selected-size-item{
    border: 2px solid var(--principal-background-color);
    color: black;
}
.description-product-section{
    overflow: hidden;
    word-break: break-word;
    text-overflow: ellipsis;
}

 

.add-to-cart-section p,
.description-product-section p{
    font-size: 1.2rem;
}
.final-sale-checkbox{
    transition: all ease .3s;
    text-shadow: none;
    display: flex;
    align-items: flex-start;
}

.reminder-animation{
    text-shadow: 0px 0px 10px rgb(228, 44, 44);
}

/***
MODAL PROOF STYLES 
**/

.modal-container{
    position: fixed;
    height: 100%;
    width: 100%; 
    display: none;
    top: 0px;
    left: 0px;
    z-index: 99;
    /*! overflow-y: scroll; */ 
    background-color: #00000082;
    /*! align-items: center; */
    justify-content: center;
}

.modal-content {
	display: flex;
	flex-direction: column;
	width: 75%;
	background: white;
	min-width: 500px;
	justify-content: space-between;
	border-radius: 10px;
	overflow-y: scroll;
	height: 80%;
	align-self: center;
}

.modal-content h5{
    margin: 3rem 2rem;
    font-size: 1.2rem;
}


.modal-content div.preview-images-section{
    display: flex;
    align-items: center;
	justify-content: center;
    flex-wrap: wrap;
}

.preview-images-section div{
    height: 560px;
    width: 420px;
    min-width: 420px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
}

.modal-header{
    display: flex;
}

.confirm-or-rollback-design{
    display: flex;
    justify-content: space-evenly;
}

.confirm-or-rollback-design button{
    padding: 1rem 3rem;
    margin-bottom: 2rem;
    background-color: var(--principal-background-color); 
    border: none;
    color: white;
    font-weight: 600;
}

#AddToCartButton:disabled{
    background-color: #d3d3d3;
    cursor: not-allowed;
}

@media (max-width: 1120px) {
    .modal-content{
        width: 100%;
        height: 100%;
        border-radius: 0px ;
        min-width: auto;
    }
    .preview-images-section{
        flex-direction: column;
    }
}