.esti-wrap{
    width:100%;
    padding:40px 16px 60px;
    box-sizing:border-box;
}

.esti-box{
    max-width:920px;
    margin:0 auto;
    padding:42px 38px 36px;
    border-radius:22px;
    background:#fff;
    box-shadow:0 18px 55px rgba(0,0,0,.08);
    text-align:center;
    border:1px solid rgba(0,0,0,.04);
}

.esti-box h2{
    margin:0 0 10px;
    font-size:38px;
    line-height:1.12;
    font-weight:800;
    letter-spacing:-.5px;
}

.esti-box > p{
    max-width:620px;
    margin:0 auto 34px;
    font-size:17px;
    line-height:1.5;
    color:#777;
}

.esti-etapa{
    margin-top:30px;
}

.esti-etapa strong{
    display:block;
    margin-bottom:14px;
    font-size:15px;
    font-weight:700;
    color:#555;
}

.esti-opcoes{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
}

.esti-opcoes button{
    appearance:none;
    min-width:150px;
    min-height:54px;
    border:1px solid #ddd;
    border-radius:13px;
    background:#fff;
    color:#222;
    padding:14px 24px;
    cursor:pointer;
    font-size:15px;
    font-weight:800;
    text-transform:uppercase;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.esti-opcoes button:hover{
    transform:translateY(-2px);
    border-color:#f58220;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.esti-opcoes button.ativo{
    background:#f58220;
    color:#fff;
    border-color:#f58220;
    box-shadow:0 8px 22px rgba(245,130,32,.28);
}

.esti-tamanhos{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(56px,1fr));
    gap:10px;
    max-width:820px;
    margin:0 auto;
}

.esti-tamanhos button{
    appearance:none;
    min-height:52px;
    border:1px solid #ddd;
    background:#fafafa;
    color:#222;
    border-radius:12px;
    cursor:pointer;
    font-size:15px;
    font-weight:800;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.esti-tamanhos button:hover{
    transform:translateY(-2px);
    border-color:#f58220;
    background:#fff;
    box-shadow:0 7px 18px rgba(0,0,0,.06);
}

.esti-tamanhos button.ativo{
    background:#222;
    color:#fff;
    border-color:#222;
    box-shadow:0 7px 18px rgba(0,0,0,.16);
}

.esti-status{
    margin-top:28px;
    min-height:24px;
    font-size:16px;
    font-weight:600;
    color:#333;
}

.esti-status strong{
    color:#f58220;
}

.esti-sem-tamanhos{
    margin:15px 0 0;
    color:#777;
}

@media (max-width:768px){
    .esti-wrap{
        padding:24px 12px 40px;
    }

    .esti-box{
        padding:30px 18px;
        border-radius:18px;
    }

    .esti-box h2{
        font-size:30px;
    }

    .esti-box > p{
        font-size:15px;
        margin-bottom:26px;
    }

    .esti-etapa{
        margin-top:24px;
    }

    .esti-opcoes{
        gap:10px;
    }

    .esti-opcoes button{
        flex:1 1 calc(50% - 10px);
        min-width:0;
        min-height:50px;
        padding:12px 14px;
    }

    .esti-tamanhos{
        grid-template-columns:repeat(5,1fr);
        gap:8px;
    }

    .esti-tamanhos button{
        min-height:48px;
    }
}

@media (max-width:420px){
    .esti-box h2{
        font-size:27px;
    }

    .esti-tamanhos{
        grid-template-columns:repeat(4,1fr);
    }

    .esti-opcoes button{
        font-size:13px;
    }
}

/* RESULTADOS */

.esti-resultados{
    max-width:1100px;
    margin:28px auto 0;
}

.esti-resultados .products{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:18px !important;
    margin:0 !important;
    padding:0 !important;
}

.esti-resultados .product{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
}

.esti-resultados .product-grid-item{
    height:100%;
}

.esti-resultados .product-wrapper{
    height:100%;
    background:#fff;
    border:1px solid #eee;
    border-radius:14px;
    overflow:hidden;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.esti-resultados .product-wrapper:hover{
    transform:translateY(-4px);
    border-color:#e4e4e4;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.esti-resultados .product-element-top{
    padding:12px;
}

.esti-resultados .product-information{
    padding:0 14px 16px;
}

.esti-resultados .product-title{
    line-height:1.35;
}

.esti-resultados img{
    max-width:100%;
    height:auto;
}

@media (max-width:1024px){
    .esti-resultados .products{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
}

@media (max-width:768px){
    .esti-resultados{
        margin-top:22px;
    }

    .esti-resultados .products{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:12px !important;
    }
}

@media (max-width:480px){
    .esti-resultados .products{
        grid-template-columns:1fr !important;
    }
}

/* MAIS RESPIRO ENTRE FILTRO E RESULTADOS */

.esti-resultados{
    margin-top:55px !important;
    padding-top:10px;
    position:relative;
}

.esti-resultados::before{
    content:"Modelos encontrados";
    display:block;
    margin:0 0 22px;
    text-align:center;
    font-size:22px;
    font-weight:800;
    color:#222;
}

@media (max-width:768px){
    .esti-resultados{
        margin-top:38px !important;
    }

    .esti-resultados::before{
        margin-bottom:16px;
        font-size:19px;
    }
}

/* LOADING DA BUSCA */

.esti-loading{
    min-height:180px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:16px;
    text-align:center;
}

.esti-spinner{
    width:46px;
    height:46px;
    border:4px solid #eee;
    border-top-color:#f58220;
    border-radius:50%;
    animation:esti-spin .8s linear infinite;
}

.esti-loading-texto{
    font-size:16px;
    font-weight:700;
    color:#444;
}

@keyframes esti-spin{
    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }
}

@media (max-width:768px){
    .esti-loading{
        min-height:140px;
    }

    .esti-spinner{
        width:40px;
        height:40px;
    }

    .esti-loading-texto{
        font-size:14px;
    }
}

/* LOADING DAS NUMERAÇÕES */

.esti-loading-tamanhos{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    color:#555;
    font-weight:700;
    font-size:14px;
}

.esti-mini-spinner{
    width:20px;
    height:20px;
    border:3px solid #eee;
    border-top-color:#f58220;
    border-radius:50%;
    animation:esti-spin .7s linear infinite;
}

/* RESPONSIVO MOBILE */

@media (max-width: 767px){

    .esti-wrap{
        padding:20px 10px 36px;
    }

    .esti-box{
        width:100%;
        max-width:100%;
        padding:26px 14px 24px;
        border-radius:16px;
        box-sizing:border-box;
    }

    .esti-box h2{
        font-size:28px;
        line-height:1.15;
        margin-bottom:10px;
    }

    .esti-box > p{
        font-size:14px;
        line-height:1.45;
        margin-bottom:24px;
        padding:0 4px;
    }

    .esti-etapa{
        margin-top:22px;
    }

    .esti-etapa strong{
        font-size:14px;
        margin-bottom:12px;
    }

    .esti-opcoes{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
        width:100%;
    }

    .esti-opcoes button{
        width:100%;
        min-width:0;
        min-height:48px;
        padding:11px 8px;
        font-size:13px;
        border-radius:10px;
    }

    .esti-opcoes:not(.esti-publico){
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .esti-opcoes:not(.esti-publico) button{
        font-size:12px;
        padding-left:4px;
        padding-right:4px;
    }

    .esti-tamanhos{
        display:grid;
        grid-template-columns:repeat(5,minmax(0,1fr));
        gap:8px;
        width:100%;
        max-width:100%;
    }

    .esti-tamanhos button{
        width:100%;
        min-width:0;
        min-height:46px;
        padding:8px 3px;
        font-size:14px;
        border-radius:10px;
    }

    .esti-status{
        margin-top:22px;
        font-size:14px;
        line-height:1.4;
        padding:0 4px;
    }

    .esti-loading{
        min-height:130px;
        padding:15px 8px;
    }

    .esti-loading-texto{
        font-size:14px;
        line-height:1.4;
    }

    .esti-loading-tamanhos{
        font-size:13px;
        flex-wrap:wrap;
        line-height:1.35;
    }

    .esti-resultados{
        width:100%;
        max-width:100%;
        margin-top:38px !important;
        padding:0 2px;
        box-sizing:border-box;
    }

    .esti-resultados::before{
        font-size:20px;
        margin-bottom:18px;
    }

    .esti-resultados .products{
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:10px !important;
        width:100% !important;
    }

    .esti-resultados .product{
        width:100% !important;
        min-width:0 !important;
        margin:0 !important;
    }

    .esti-resultados .product-wrapper{
        border-radius:12px;
    }

    .esti-resultados .product-element-top{
        padding:8px;
    }

    .esti-resultados .product-information{
        padding:0 9px 12px;
    }

    .esti-resultados .product-title{
        font-size:13px !important;
        line-height:1.3 !important;
    }

    .esti-resultados .price{
        font-size:14px !important;
    }
}

@media (max-width: 420px){

    .esti-box{
        padding:24px 12px 22px;
    }

    .esti-box h2{
        font-size:25px;
    }

    .esti-opcoes:not(.esti-publico){
        grid-template-columns:1fr;
    }

    .esti-opcoes:not(.esti-publico) button{
        font-size:13px;
    }

    .esti-tamanhos{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }

    .esti-resultados .products{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:8px !important;
    }

    .esti-resultados .product-information{
        padding-left:7px;
        padding-right:7px;
    }

    .esti-resultados .product-title{
        font-size:12px !important;
    }
}

@media (max-width: 340px){

    .esti-tamanhos{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .esti-resultados .products{
        grid-template-columns:1fr !important;
    }
}
