@import url('https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css');


@font-face {
    font-family: 'monotype-corsiva';
    src: url('https://cdn.awsli.com.br/1720/1720538/arquivos/monotype-corsiva.ttf') format('truetype');
	font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'script3';
    src: url('https://cdn.awsli.com.br/2410/2410649/arquivos/script3regular.ttf') format('truetype');
	font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'script4';
    src: url('https://cdn.awsli.com.br/2410/2410649/arquivos/edwardianscriptitc.ttf') format('truetype');
	font-style: normal;
	font-display: swap;
}


@font-face {
    font-family: 'script8';
    src: url('https://cdn.awsli.com.br/2410/2410649/arquivos/scriptmtbold.ttf') format('truetype');
	font-style: normal;
	font-display: swap;
}




/* CLASSES CSS */
.d-flex{
    display: flex;
    justify-content: space-between;
}





/* BOTÃO PERSONALIZAR */
.customize__btn {
    margin: 20px 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 45px;
    padding: 0 15px !important;
    box-shadow: 0px 1px 0.5rem rgb(0, 0, 0, 5%);
    cursor: pointer;
    font-weight: bold;
    border: none !important;
}

.customize__btn p{
    margin-bottom: 0px;
}

.customize__btn span:hover {
    color: #fff;
}


.bordado_texto{
    max-width: 400px;
    padding: 15px !important;
    background: #efefef;
    margin-bottom: 30px;
}

.bordado_texto p {
    font-size: 14px;
    color: #2a2a2a;
    margin-bottom: 0;
}

/* POPUP */

.ne_customize_popup{
    position: fixed;
    overflow: hidden;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: none;

    
    visibility: initial;
    -webkit-box-pack: center;
    /*display: flex;*/
}



.ne_customize_popup_content{
    position: relative;
    background: #fff;
    padding: 20px;
    box-shadow: 0px 0px 0.6rem rgba(0, 0, 0, 10%);
    /*display: flex;*/
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    overflow: auto;
    width: 900px;
}


.customize_popup_title {
    text-align: center;
}

.preco_bordado{
    font-size: 18px;
    margin-bottom: 0;
}


.title_option{
    font-weight: 400;
    color: #000;
    font-size: 15px;
    margin-bottom: 5px;
}

.customize_options{
    margin-top: 20px;
}

.select2-container{
    z-index: 9999999;
}

/*.customize_options select{*/
/*    height: 40px !important;*/
/*    width: 100%;*/
/*}*/

.color-embroidery {
    display: flex;
    align-items: center;
    height: 40px;
}

.color_round{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0px 3px 0.4rem rgba(0, 0, 0, 30%);
    margin-right: 10px;
    margin-top: -4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    height: 40px !important;
    line-height: 37px !important;
}

.select2-container .select2-selection--single{
    height: 40px !important;
    padding-left: 10px !important;

    border: 1px solid #c6c6c6 !important;
    border-radius: 1px !important;
}



span.select2-search.select2-search--dropdown {
    display: none;
}

.font-embroidery span {
    font-size: 14px;
}

span#select2-customize-select-fonts-container{
    display: block;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    
    display: flex;
    align-items: center;
    
}

.embroidery-positions {
    display: flex;
    gap: 1.5rem;
}

.embroidery-positions .active{
    cursor: pointer;
    background: #434343 !important;
    border-color: #434343 !important;
    color: #fff !important;
}

.embroidery-positions button{
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c6c6c6;
    cursor: pointer;
    background: #fff;
    color: #444;
    font-size: 14px;
    padding: 10px 15px !important;
}

#customize-font, #customize-color, #embroidery-position{
    margin-bottom: 20px;
}

.embroidery-input{
    position: relative;
}

.embroidery-input input {
    height: 37px !important;
    border-radius: 1px !important;
    border-color: #ccc !important;
    transition: 0.2s border-color ease-in;
    padding-right: 60px !important; 
    border: 1px solid #c2c2c2 !important;
    padding: 0 9px !important;
    width: 96%;
}

.embroidery-input input:target, .embroidery-input input:focus {
    box-shadow: none;
    border-color: #434343 !important; 
    border-width: 2px !important;
}

.embroidery-input input:focus ~ .embroidery-input-label {
    transform: translate(3px, -21px);
}

.embroidery-input .embroidery-input-label {
    position: absolute;
    top: 30%;
    left: 2%;
    transition: 200ms transform ease;
    margin-bottom: 0px;
    background: #fff;
    display: block;
    padding: 0 5px;
    pointer-events: none;
    will-change: transform;
}

.embroidery-input:not(:first-child) {
    margin-top: 10px;
}

.embroidery-input .embroidery-input-limit {
    position: absolute;
    top: 30%;
    right: calc(2% + 5px);
    display: inline;
    margin-bottom: 0;
}

.embroidery-input .embroidery-input-limit span {
    margin: 0 1px;
}

.select2-container{
    width: 100% !important;
}

.customize-details, .customize-preview{
    width: 50%;
}

#embroidery-footer {
    width: 850px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

#embroidery-footer a {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    pointer-events: none;
}

#embroidery-footer > div {
    width: 200px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.5s ease;
    box-shadow: 0 3px 3px 0.1rem rgba(0, 0, 0, 10%);
}

.embroidery-cancel {
    background: #434343;
    margin-right: 50px;
}

.embroidery-confirm {
    background: #d0d0d0;
    margin-left: 50px;
    cursor: not-allowed !important;
}

.embroidery-preview {
    display: flex;
    flex-direction: column;
    width: 380px;
    min-height: 330px;
    background-color: #fff;
    z-index: 1;
}

.embroidery-coat {
    height: 155px;
    border-bottom: 0.5px solid #fcfcfc;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #eee;
    border-left: 3px solid #eee;
    border-right: 3px solid #eee;
}

.embroidery-coat.embroidery-coat-white {
    background-color: #efefef !important;
}

.embroidery-coat > svg, .embroidery-coat > img {
    color: #fff;
    width: 161px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.embroidery-coat svg.svg-inline--fa.fa-grip-lines.fa-w-16 {
    color: #414141;
    width: 16px;
    position: absolute;
    top: 47px;
    right: 166px;
}

.embroidery-texts {
    height: 175px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-left: 3px solid #eee;
    border-right: 3px solid #eee;
    border-bottom: 3px solid #eee;
    overflow: hidden;
}

.embroidery-texts::after {
    content: "";
    background-image: url(https://www.dracherie.com.br/static/version1691615953/frontend/Fleg/customtheme/pt_BR/DraCherie_Embroidery/images/black-twill.png);
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.15;
}

.embroidery-preview p {
    color: #000;
    padding: 5px;
}

.embroidery-input-filled, .embroidery-input input:target ~ .embroidery-input-label, .embroidery-input input:active ~ .embroidery-input-label, .embroidery-input input:focus ~ .embroidery-input-label {
    transform: translate(3px, -21px);
}



.embroidery-coat > svg, .embroidery-coat > img, .embroidery-coat .texts {
    transition: 0.3s top ease;
}

.embroidery-coat .texts {
    display: none;
    position: absolute;
    top: 90px;
    right: 135px;
    line-height: 8px;
    font-size: 8px;
}

.embroidery-texts ul{
    margin: 0px;
}

.embroidery-texts ul, .embroidery-texts li {
    line-height: 25px;
    font-size: 26px;
    text-align: center;
    margin-bottom: 0 !important;
    z-index: 1;
}

.embroidery-coat.zoom > svg, .embroidery-coat.zoom > img {
    top: 83px;
    width: 380px;
}


.embroidery-coat.zoom svg.svg-inline--fa.fa-grip-lines.fa-w-16 {
    display: none;
    width: 34px;
    top: 81px;
    right: 164px;
}

.embroidery-coat svg.svg-inline--fa.fa-grip-lines.fa-w-16 {
    color: #414141;
    width: 16px;
    position: absolute;
    top: 47px;
    right: 166px;
}

.embroidery-coat.zoom .texts {
    display: block;
}

.texts ul{
    margin: 0px;
}


.embroidery-coat .texts li{
    line-height: normal;
}


.embroidery-input-alert {
    color: #F49AA5;
}

.embroidery-confirm-active {
    background: var(--botoes) !important;
    cursor: pointer !important;
}

.embroidery-product-details {
    width: 400px;
    max-width: 400px;
    background-color: #fff;
    transition: 0.6s ease-in background-color;
}

.embroidery-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
}

.embroidery-list {
    display: flex;
    position: relative;
    margin-bottom: 20px;
}

.embroidery-list .embroidery-image, .embroidery-option .embroidery-image {
    position: relative;
    height: 90px;
    min-width: 145px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 0.5rem #ccc;
    padding: 15px;
    background: #000;
    color: #fff;
}

.embroidery-list .embroidery-image::after, .embroidery-option .embroidery-image::after {
    content: "";
    background-image: url(https://www.dracherie.com.br/static/version1691615953/frontend/Fleg/customtheme/pt_BR/DraCherie_Embroidery/images/black-twill.png);
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.15;
}


.embroidery-list .embroidery-details ul, .embroidery-option .embroidery-details ul {
    font-weight: 400;
    line-height: 15px;
    margin-bottom: 0;
}

.embroidery-list .embroidery-details ul li:not(:last-child), .embroidery-option .embroidery-details ul li:not(:last-child) {
    margin-bottom: 0.3rem;
}

.embroidery-list .embroidery-details ul li span:first-child, .embroidery-option .embroidery-details ul li span:first-child {
    font-weight: bold;
}

.embroidery-menu > p {
    font-size: 15px;
    margin-bottom: 0;
}

.embroidery-menu .embroidery-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.embroidery-menu .embroidery-edit {
    cursor: pointer;
    text-decoration: underline;
}

.embroidery-menu .embroidery-remove svg {
    color: #777777;
    transition: 0.3s ease color;
    cursor: pointer;
    width: 20px;
}

.pagina-carrinho .embroidery-list .embroidery-image, .pagina-carrinho .embroidery-option .embroidery-image{
    height: 37px;
    min-width: 63px;
    margin-right: 9px;
    margin-top: 20px;
}

.pagina-carrinho .embroidery-list .embroidery-details ul li:not(:last-child), .pagina-carrinho .embroidery-option .embroidery-details ul li:not(:last-child){
    margin: 0px;
}


.abriu-popup-bordado{
    overflow: hidden !important;
}

.abriu-popup-bordado{
    overflow: hidden !important;
}

.loading__image {
	margin-left: 50px;
	display: none;
}

.loading__image img {
    width: 55px;
}

#photo_file {
    display: none;
}

div#personalize-com-imagens {
    margin-top: 30px;
    margin-bottom: 30px;
    align-items: center;
}

div#personalize-com-imagens form{
    display: flex;
    align-items: center;
}


button.btn_custom_submit.botao.principal {
    background: no-repeat;
    border: none;
}

.customized_photo_preview_img{
	display: none;
}

#customized_photo_preview_img{
	margin-bottom: 15px;
    width: 120px;
    height: auto;
}

.customize-preview {
    justify-items: center;
}

.personalize_imagens_content{
    display: grid;
}

.personalize_imagens_content span{
    color: red;
    cursor: pointer;
}

div#personalize-com-imagens span {
    color: 500;
    font-weight: bold;
}

/* MOBILE */
@media(max-width: 992px){
    
    .customize__btn{
        width: 91%;
    }
    
    .customize_options{
        display: block;
    }
    
    .ne_customize_popup_content{
        width: 89%;
        padding: 12px;
        height: 94vh;
        /*overflow: scroll;*/
    }
    
    .embroidery-preview{
        width: 328px;
    }
    
    .customize-details, .customize-preview{
        width: auto !important;
    }
    
    #embroidery-footer{
        width: 100%;
        display: block;
    }
    
    #embroidery-footer > div{
        width: 100%;
    }
    
    .embroidery-confirm{
        margin-left: 0px;
        margin-top: 10px;
    }
    
    .embroidery-menu{
        width: 88%;
    }
    
    .embroidery-list .embroidery-image, .embroidery-option .embroidery-image{
        padding: 0px;
    }
    
    .embroidery-list .embroidery-details ul, .embroidery-option .embroidery-details ul{
        margin-left: 6px;
        width: 90%;
    }
    
    .embroidery-input input{
        padding-top: 4px !important;
    }
}

div#customize-font > span {
    margin-bottom: 12px;
}

#formularioObservacao textarea:last-child{
	display: block !important;
}

