@use "helpers";

.page-title{
    display: block;
    margin: 0px;
    color: helpers.$highlight;
    font: normal 18px helpers.$fontBold;
    line-height: 21px;
    letter-spacing: 0.005em;
}

.title-filters{
    display: flex;
    display: block;
    margin: 0px;
    color: helpers.$highlight;
    font: normal 15px helpers.$fontMedium;
    line-height: 18px;
    margin-bottom: 15px;
}

.a-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    background-color: #F5F5F5;
    @include helpers.transicao(0.4s ease-in-out);

    .icon-check{
        width: 8px;
        visibility: hidden;
        pointer-events:none;
        opacity: 0;
        transition: visibility 0s 0.3s, opacity 0.3s linear;
    }
}

#con-bannerCat {
    display: flex;
    flex-direction: column;
    width: 100%;

    .content{
        display: flex;
        flex-direction: column;
        width: 100%;

        .item{
            display: flex;
            outline: 0px;
            width: 100%;
            max-width: 1135px;

            img{
                display: block;
                width: 100%;
            }
        }
    }
}

#page-header{
    display: flex;
    flex-direction: column;
    width: 100%;

    @media(min-width:576px){
        margin-bottom: 15px;
    }

    .box-informations{
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 30px;

        @media(max-width:575px){
            padding-bottom: 20px;
            margin-bottom: 15px;
            border-bottom: 1px solid #EEEEEE;
        }

        .title{
            display: block;
            margin: 0px;
            color: helpers.$highlight;
            font: normal 28px helpers.$fontMedium;
            line-height: 33px;

            @media(max-width:575px){
                font-size: 22px;
                line-height: 26px;
            }
        }

        .description{
            display: flex;
            flex-direction: column;
            width: 100%;

            p{
                display: block;
                margin: 0px;
                color: #565656;
                font: normal 15px helpers.$fontRegular;
                line-height: 22px;
                letter-spacing: 0.05em;
                white-space: pre-line;
            }
        }
    }

    .box-controls{
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        gap: 100px;

        @media(max-width:1199px){
            justify-content: space-between;
            gap: 15px;
        }

        .product-quantity{
            display: none;
            flex-grow: 1;
            margin: 0px;
            color: #565656;
            font: normal 15px helpers.$fontMedium;
            line-height: 18px;

            @media(min-width:1200px){
                display: flex;
            }
        }

        .control-filters{
            display: flex;
            align-items: center;
            width: 100%;
            max-width: 210px;
            gap: 10px;

            @media(min-width:1200px){
                display: none;
            }
            
            span{
                display: block;
                margin: 0px;
                color: helpers.$textoDark;
                font: normal 13px helpers.$fontRegular;
                line-height: 16px;
            }
            
            &.is-mobile{
                max-width: 155px;
            }
        }

        .product-exibition{
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 15px;

            .title{
                display: block;
                margin: 0px;
                color: #565656;
                font: normal 15px helpers.$fontMedium;
                line-height: 18px;

                @media(max-width:767px){
                    display: none;
                }
            }

            .content{
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 10px;

                .control{
                    display: block;
                    outline: 0px;

                    svg{
                        path{
                            stroke: #D9D9D9;
                        }

                        rect{
                            fill: #D9D9D9;
                            &.border{
                                fill: #FFFFFF;
                                stroke: #EEEEEE;
                            }
                        }
                    }

                    &.active{
                        svg{
                            path{
                                stroke: helpers.$highlight;
                            }

                            rect{
                                fill: helpers.$highlight;
                                &.border{
                                    fill: #FFFFFF;
                                    stroke: helpers.$highlight;
                                }
                            }
                        }
                    }
                }
            }
        }

        .con-ordenacao {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-end;
            width: 100%;
            max-width: 210px;

            &.order-mobile{
                max-width: 155px;
            }
            
            .title {
                display: flex;
                align-items: center;
                justify-content: space-between;
                width: 100%;
                gap: 30px;
                padding: 15px 20px;
                cursor: pointer;
                color: helpers.$textoDark;
                font: normal 14px helpers.$fontRegular;
                line-height: 17px;
                border: 1px solid transparent;
                border-bottom-width: 0px;
                @include helpers.transicao(0.4s ease-in-out);

                @media(max-width:575px){
                    padding-left: 15px;
                    padding-right: 15px;
                }

                .title-icon{
                    @include helpers.transicao(0.4s ease-in-out);
                }
            }

            .options {
                position: absolute;
                z-index: 100;
                display: block;
                width: 100%;
                top: 100%;
                right: 0;
                border: 1px solid #EEEEEE;
                border-top-width: 0px;
                background-color: helpers.$light;
                visibility: hidden;
                pointer-events: none;
                opacity: 0;
                transition: visibility 0s 0.3s, opacity 0.3s linear;

                li {
                    display: block;
                    width: 100%;

                    a {
                        position: relative;
                        display: flex;
                        padding: 7px 20px;
                        outline: 0px;
                        align-items: center;
                        justify-content: flex-start;
                        @include helpers.transicao(0.3s ease-in-out);

                        @media(max-width:575px){
                            padding-left: 15px;
                            padding-right: 15px;
                        }

                        p{
                            display: block;
                            margin: 0px;
                            color: helpers.$textoDark;
                            font: normal 13px helpers.$fontRegular;
                            line-height: 13px;
                            letter-spacing: 0.02em;
                            @include helpers.transicao(0.4s ease-in-out);
                        }

                        &.selected{
                            .a-icon{
                                background-color: helpers.$highlight;

                                .icon-check{
                                    visibility: visible;
                                    pointer-events:initial;
                                    opacity: 1;
                                    transition: opacity 0.3s linear;
                                }
                            }

                            p{
                                text-decoration: underline;
                            }
                        }

                        &:hover,&:focus{
                            p{
                                text-decoration: underline;
                            }
                        }
                    }

                    &:first-of-type{
                        a{
                            padding-top: 20px;
                        }
                    }
                    &:last-of-type{
                        a{
                            padding-bottom: 20px;
                        }
                    }
                }
            }

            &.ativo{
                .title{
                    border-color: #EEEEEE;

                    .title-icon{
                        transform: rotate(180deg);
                    }
                }

                .options{
                    visibility: visible;
                    pointer-events: initial;
                    opacity: 1;
                    transition: opacity 0.3s linear;
                }
            }
        }
    }

    .filtros-escolhidos{
        margin-top: 20px;
    }
}

#con-principal {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 80px;

    @media(max-width:991px){
        padding-bottom: 60px;
    }

    @media(max-width:575px){
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .box-principal{
        display: block;
        width: calc(100% - 315px);
        padding-bottom: 30px;
        padding-left: 70px;

        @media(max-width:1450px){
            padding-left: 30px;
        }

        @media(max-width:1199px){
            width: 100%;
            padding-left: 0px;
            border-left: 0px;
        }

        .ls-produtos {
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            flex-wrap: wrap;
            width: auto;
            margin-left: -10px;
            margin-right: -10px;

            .item{
                padding: 10px;
                text-align: left;
            }

            &.prevent-load{
                display: flex;
            }
        }
    }
}

.section-list,
.section-categoria{
    padding-bottom: 60px;
    background-color: transparent;
    @include helpers.transicao(0.4s ease-in-out);

    .conteudo{
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 1520px;
        margin: 0 auto;
        gap: 20px;

        .container-categoria{
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;

            .page-title {
                @media(max-width:767px){
                    max-width: 170px;
                    font-size: 15px;
                    line-height: 18px;
                }
            }

            .btn-section{
                outline: 0px;
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 10px;

                span{
                    display: block;
                    margin: 0px;
                    color: helpers.$textoDark;
                    font: normal 14px helpers.$fontRegular;
                    line-height: 17px;
                    letter-spacing: 0.005em;
                }
            }
        }

        .container-lista-produtos{
            .ls-produtos {
                position:relative;
                padding-left: 0px;
                padding-right: 0px;
    
                .item {
                    display: block;
                    width:100%;
                    max-width: 100%;
                    padding: 0px;
                }
            }
    
            .icon-produto-cat{
                position: absolute;
                z-index: 100;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 20px;
                height: 15px;
                top: 50%;
                transform: translateY(-50%);
    
                @media(max-width:767px){
                    display: none !important;
                }
    
                &.icon-produto-prev{
                    left: -35px;
                    @media(max-width:1625px){
                        left: -15px;
                    }
                }
    
                &.icon-produto-next{
                    right: -35px;
                    @media(max-width:1625px){
                        right: -15px;
                    }
                }
            }
        }

        .container-lista-produtos-mobile{
            display: block;
            width: auto;
            margin-left: -15px;
            margin-right: -15px;

            .ls-produtos{
                width: 100%;

                .product-section{
                    display: flex;
                    flex-wrap: wrap;
                    align-items: flex-start;
                    justify-content: center;
                    width: 100%;
    
                    .item{
                        width: calc(50% - 10px);
                        padding: 5px;
                    }
                }
            }

            .owl-nav{
                display: none !important;
            }

            .owl-dots{
                justify-content: center;
            }
        }
    }

    .owl-nav{
        height: 0px;
    }
}

.section-list{
    .container-lista-produtos{
        .ls-produtos{
            .product-section{
                display: flex;
                flex-direction: column;
                width: 100%;
                gap: 10px;
            }
        }
    }
}

.ls-produtos {
    .item:not(.item-mobile) {
        .product-card:hover {
            .box-item{
                .box-produto-cores {
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }
    .item {
        position: relative;
        display: inline-block;
        float: none;
        margin-right: -4px;
        padding: 10px;
        text-align:left;
        vertical-align: top;
        
        .product-card{
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: helpers.$maxI;
            margin: 0 auto;
            border: 1px solid transparent;
            @include helpers.transicao(0.4s ease-in-out);

            .aimg {
                position: relative;
                display: block;
                width: 100%;
                background-color: transparent;
    
                .loading {
                    position: absolute;
                    overflow: hidden;
                    display: none;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    background-color: rgba(255,255,255, 0.8);
                    background-image: url("../img/loading.gif");
                    background-repeat: no-repeat;
                    background-position: center;
                }
    
                img {
                    aspect-ratio: 1 / 1;
                    display: block;
                    object-fit: cover;
                    width: 100%;
                }
    
                .tags-content{
                    pointer-events: none;
                    position: absolute;
                    display: flex;
                    flex-direction: column;
                    width: auto;
                    height: 100%;
                    top: 0px;
                    gap: 5px;

                    .tag{
                        display: flex;
                        padding: 6px 8px;
                        padding-bottom: 4px;
                        color: helpers.$textoLight;
                        font: normal 12px helpers.$fontBold;
                        line-height: 14px;
                        letter-spacing: 0.01em;
                        background-color: #09B857;

                        @media(max-width:767px){
                            padding: 4px 6px;
                            padding-bottom: 0px;
                            font-size: 10px;
                            line-height: 12px;
                        }

                        &.new{
                            color: helpers.$textoLight;
                            background-color: #E4B40A;
                        }
                        &.vlPromo{
                            color: white;
                            background-color: #09B857;
                        }
                    }

                    &.on-left{
                        left: 0px;
                        align-items: flex-start;
                        justify-content: flex-end;
                    }

                    &.on-right{
                        right: 0px;
                        align-items: flex-end;
                        justify-content: flex-start;
                    }
                }
            }

            .box-item{
                display: flex;
                flex-direction: column;
                width: 100%;
                max-width: helpers.$maxI;
                margin: 0 auto;
                padding: 15px 20px;
                position: relative;

                @media(max-width:767px){
                    padding: 12px 10px;
                }

                .box-produto-cores {
                    position: absolute;
                    z-index: 33;
                    top: -86px;
                    width: 100%;
                    left: 0;
                    background-color: rgba(255, 255, 255, 0.5);
                    padding-top: 5px;
                    padding-bottom: 5px;
                    opacity: 0;
                    visibility: hidden;
                    transition: all 0.2s linear;

                    .btn-cores {
                        text-align: center;
                        width: 100%;
                        margin: 0 auto;
                        display: block;
                        font-family: helpers.$fontBold;
                        color: helpers.$highlight;
                        font-size: 14px;
                        margin-top: 5px;

                        &:hover {
                            text-decoration: underline;
                        }
                    }

                    .cores-img {
                        position: relative;
                        padding: 0 40px;

                        .owl-nav {
                            height: 0;

                            .icon-produto-cores {
                                position: absolute;
                                top: 10px;
                            }

                            .icon-produto-next {
                                right: 5px;
                            }

                            .icon-produto-prev {
                                left: 5px;
                            }
                        }
                    }
            
                    .cor {
                        width: 50px;
                        height: 50px;
                        display: block;
            
                        img {
                            width: 100%;
                        }
                    }
                }
    
                .desc {
                    margin-bottom: 10px;
                    color: helpers.$textoDark;
                    height: 40px;
                    font: {
                        family: helpers.$fontRegular;
                        size: 15px;
                        weight: normal;
                    }
                    line-height: 18px;
                    letter-spacing: 0.005em;

                    @media(max-width:767px){
                        font-size: 14px;
                        line-height: 17px;
                    }
    
                    a {
                        display: -webkit-box;
                        outline: 0px;
                        width: 100%;
                        font: inherit;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;  
                        overflow: hidden;
                        @include helpers.transicao(0.4s ease-in-out);
                    }

                    &:hover{
                        a{
                            -webkit-line-clamp: 4;
                        }
                    }
                }

                .star-rating{
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                    width: 100%;
                    gap: 4px;
                    margin-bottom: 14px;
                }

                .product-informations{
                    display: flex;
                    flex-wrap: wrap;
                    align-items: flex-end;
                    justify-content: space-between;
                    width: 100%;
                    gap: 10px;

                    .price-content{
                        display: flex;
                        flex-grow: 1;
                        flex-direction: column;
                        width: auto;
                    }

                    .product-options{
                        display: flex;
                        align-items: center;
                        justify-content: flex-start;
                        gap: 15px;
                        visibility: hidden;
                        pointer-events:none;
                        opacity: 0;
                        transition: visibility 0s 0.3s, opacity 0.3s linear;

                        @media(max-width:767px){
                            display: none;
                        }

                        .btRemFavoritos{
                            svg{
                                path{
                                    fill: #DE5D6C !important;
                                    stroke: #DE5D6C !important;
                                }
                            }
                        }
                    }
                }
    
                .preco{
                    display: flex;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: flex-start;
                    width: 100%;
    
                    .vlDe{
                        display: block;
                        margin: 0px;
                        margin-right: 10px;
                        color: #9A9A9A;
                        font: normal 15px helpers.$fontRegular;
                        line-height: 18px;
                        text-decoration: line-through;
                        letter-spacing: 0.005em;

                        @media(max-width:767px){
                            font-size: 12px;
                            line-height: 14px;
                        }
                    }
    
                    .vlPor,.esgotado{
                        display: block;
                        margin: 0px;
                        color: helpers.$highlight;
                        font: normal 22px helpers.$fontBold;
                        line-height: 26px;
                        letter-spacing: 0.005em;

                        @media(max-width:767px){
                            font-size: 16px;
                            line-height: 19px;
                        }

                        &.in-discount{
                            color: #09B857 !important;
                        }
                    }
                }
    
                .precoParc{
                    display: block;
                    margin: 0px;
                    margin-top: 5px;
                    color: #666666;
                    font: normal 15px helpers.$fontRegular;
                    line-height: 18px;
                    letter-spacing: 0.005em;

                    @media(max-width:575px){
                        font-size: 12px;
                        line-height: 14px;
                    }

                    .parc-vlParc{
                        font-family: helpers.$fontBold;
                    }
                }
            }
        }

        &.esgotado{ 
            .aimg{
                .tag-esgotado{
                    display: block;
                    background-color: #9ca3af !important;
                }
            }
        }

        &.item-mobile{
            margin-bottom: 0px;

            .product-card{
                display: flex;
                flex-direction: row;
                align-items: stretch;
                justify-content: flex-start;
                max-width: 100%;
                border-color: #EFEFEF;

                .aimg{
                    max-width: 142px;
                }

                .box-item{
                    justify-content: center;
                }
            }
        }

        &:hover,&:focus{
            .product-card{
                box-shadow: 0px 5px 25px 0px rgba(0,0,0,0.10);

                .box-item{
                    .product-informations{
                        .product-options {
                            visibility: visible;
                            pointer-events:initial;
                            opacity: 1;
                            transition: opacity 0.3s linear;
                        }
                    }
                }
            }
        }

        &.fake {
            .box-dados {
                .desc {
                    a {
                        background-color: #eee;
                        display: block;
                        width: 70%;
                        margin: 0 auto;
                        height: 1.2em;
                    }
                }
            }
            
            .img {
                background-color: #eee;
                display: block;
                position: relative;
                z-index: 2;
            }
        }
    }
}

.filtros-escolhidos {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;

    @media(max-width:767px){
        flex-direction: column;
        margin-bottom: 30px;
        align-items: center;
        justify-content: center;
    }

    .filtros-titulo{
        display: block;
        margin: 0px;
        margin-right: 25px;
        color: #000000;
        font: normal 13px helpers.$fontSemibold;
        line-height: 15px;
        letter-spacing: 0.05em;

        @media(max-width:767px){
            margin-right: 0px;
            margin-bottom: 10px;
        }
    }

    .control-filtros{
        display: flex;
        /*width: calc(100% - 115px);*/
        width: auto;
        padding: 0px;
        list-style: none;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;

        @media(max-width:767px){
            justify-content: center;
        }

        .item{
            display: block;
            margin: 0px 15px 0px 0px;
            border: none;
            border-radius: 10px;
            background-color: helpers.$highlight;
            @include helpers.transicao(0.4s ease-in-out);

            .link-filtro {
                display: flex;
                padding: 3px 8px;
                font-size: 12px;
                position: relative;
                color: helpers.$textoLight;
                font: normal 12px helpers.$fontSemibold;
                line-height: 14px;
                letter-spacing: 0.05em;
                align-items: center;

                .title {
                    display: block;
                }

                .value {
                    display: block;

                    &:after{
                        position: absolute;
                        @include helpers.sprite();
                        content: "";
                        width: 12px;
                        height: 12px;
                        top: -6px;
                        right: -6px;
                        background-position: -423px -66px;
                    }
                }

                img {
                    max-width: 15px;
                }
            }

            &.remover-todos {
                background-color: transparent;
                border: none;
                margin: 0px;

                .link-filtro {
                    display: block;
                    color: #9A9A9A;
                    font: normal 12px helpers.$fontMedium;
                }
            }
        }
    }
}

#mobile-filtros{
    position: fixed;
    z-index: 2000;
    width: 100%;
    height: 100%;
    top: 0px;
    right: 0px;
    visibility: hidden;
    pointer-events:none;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;

    .box-overlay{
        position: absolute;
        z-index: 1;
        cursor: pointer;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        background-color: helpers.$backgroundModal;
    }

    .box-filtros {
        background-color: helpers.$light;
        border: none;
        box-shadow: 2px 2px 3px rgba(0,0,0,0.1);
        position: absolute;
        display: flex;
        flex-direction: column;
        left: 0px;
        top: 0px;
        z-index: 130;
        width: 100%;
        height: 100%;
        max-width: 596px;
        font-size: 12px;

        .box-header{
            display: flex;
            width: 100%;
            padding:13px 30px;
            align-items: center;
            justify-content: space-between;

            // @media(max-width:575px){
            //     padding-left: 15px;
            //     padding-right: 15px;
            // }

            p{
                display: block;
                margin: 0px;
                color: helpers.$textoDark;
                font: normal 22px helpers.$fontRegular;
                line-height: 26px;
            }

            .box-close{
                outline: 0px;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 36px;
                height: 36px;
            }
        }

        .box-content{
            overflow-y: auto;
            display: flex;
            flex-grow: 1;
            width: 100%;
            padding: 0px 30px;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;

            #nav1{
                width: 100%;
            }

            .filtro{
                width: 100%;
            }
        }

        .box-footer{
            display: block;
            width: 100%;
            border-top: solid 1px helpers.$borders;

            .btn-remover{
                display: block;
                outline: 0px;
                width: 100%;
                padding: 15px 10px;
                color: helpers.$textoDark;
                font: normal 18px helpers.$fontBold;
                line-height: 21px;
                text-align: center;
            }
        }
    }

    &.ativo{
        visibility: visible;
        pointer-events:initial;
        opacity: 1;
        transition: opacity 0.3s linear;
    }
}

#prd-relation{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;

    .title{
        display: block;
        margin: 0px;
        color: helpers.$highlight;
        font: normal 15px helpers.$fontMedium;
        line-height: 18px;
    }

    .related{
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        gap: 8px;

        .size{
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            width: 80px;
            height: 80px;
            padding: 10px;
            gap: 6px;
            border: 1px solid #EEEEEE;
            background-color: #F5F5F5;

            span{
                display: block;
                margin: 0px;
                color: helpers.$textoDark;
                font: normal 12px helpers.$fontRegular;
                line-height: 14px;
                letter-spacing: 0.04em;
            }

            &.actived{
                border-color: helpers.$highlight;
                background-color: helpers.$highlight;

                svg{
                    path{
                        fill: helpers.$light;
                    }
                }

                span{
                    color: helpers.$textoLight;
                }
            }
        }
    }
}

#prd-precos, .prd-precos{
    display: block;
    width: 100%;
    margin-bottom: 40px;

    .precoAVista {
        color: helpers.$highlight;
        margin-bottom: .5rem;
        .valor {
            font: normal 36px helpers.$fontBold;
        }
    }

    &.a-vista {
        .precoSemPromocao,.precoComPromocao {
            .precoPorValor{
                &::before{
                    content: "ou ";
                }
                color: helpers.$textoMedium !important;
                font: normal 15px helpers.$fontRegular !important;
            }

            .precoDeValor {
                margin-bottom: auto;
            }

            .precoTagPromo {
                display: none !important;
            }
        }
    }

    .precoSemPromocao,.precoComPromocao{
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 6px;

        .precoDeValor{
            display: block;
            margin: 0px;
            color: helpers.$textoMedium;
            font: normal 18px helpers.$fontRegular;
            line-height: 18px;
            text-decoration: line-through;
            margin-bottom: .5rem;
        }

        .precoPor-content{
            display: flex;
            align-items: center;
            width: 100%;
            gap: 15px;

            .precoTagPromo{
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 4px;
                padding: 9px 8px;
                padding-bottom: 6px;
                padding-left: 15px;
                background-color: #09B857;
                color: white;
                font: normal 14px helpers.$fontBold;
                line-height: 17px;
                clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 10% 100%, 0% 50%);

                &:before{
                    display: flex;
                    content: "";
                    width: 6px;
                    height: 6px;
                    border-radius: 100%;
                    background-color: #D9D9D9;
                }
            }
        }

        .precoPorValor{
            display: block;
            margin: 0px;
            color: helpers.$highlight;
            font: normal 36px helpers.$fontBold;
            line-height: 30px;
            letter-spacing: 0.02em;
        }

        .precoParc{
            display: block;
            margin: 0px;
            color: helpers.$highlight;
            font: normal 15px helpers.$fontMedium;
            line-height: 18px;

            span{
                font-style: normal;
            }
        }
    }
}

.prd-cor {
    display: block;
    width: 100%;
    margin-bottom: 10px;

    h4 {
        display: block;
        margin: 0px;
        color: helpers.$textoDark;
        font: normal 12px helpers.$fontSemibold;
        line-height: 18px;
        letter-spacing: 0.04em;
        text-align: center;
    }

    .cor-selecionada {
        display: block;
        margin: 0px;
        color: helpers.$textoDark;
        font: normal 12px helpers.$fontSemibold;
        line-height: 18px;
        letter-spacing: 0.04em;
        text-align: center;
    }

    .box-cores{
        display: flex;
        width: 100%;
        margin-top: 15px;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: center;

        label, span {
            position: relative;
            overflow: hidden;
            cursor: pointer;
            display: block;
            width: 46px;
            height: 46px;
            margin: 0px;
            margin-right: 10px;
            margin-bottom: 10px;
            border: none;

            &.ctrlGaleria{
                img {
                    display: block;
                    width: 46px;
                    height: 46px;
                    border: solid 1px helpers.$borders;
                }
            }

            &.active {
                img{
                    border: 2px solid helpers.$highlight;
                    box-shadow: 0px 0px 1px helpers.$highlight;
                }
            }

            &:last-of-type{
                margin-right: 0px;
            }
        }

        .iconCor {
            cursor: default;
            opacity: 0.6;

            &:before {
                position: absolute;
                content: "X";
                display: flex;
                width: 100%;
                height: 100%;
                top: 0px;
                left: 0px;
                font-size: 24px;
                font-weight: bold;
                align-items: center;
                justify-content: center;
            }
        }
        input {
            overflow: hidden;
            height: 0;
            width: 0;
            position: absolute;
            visibility: hidden;
        }
    }
}

.prd-tam {
    display: block;
    width: 100%;
    margin-bottom: 10px;

    span {
        display: block;
        margin: 0px;
        color: #17100D;
        font: normal 15px helpers.$fontBold;
    }

    .prd-tam-list {
        display: block;
        width: 100%;

        h4 {
            display: block;
            margin: 0px;
            margin-bottom: 15px;
            color: helpers.$textoDark;
            font: normal 12px helpers.$fontSemibold;
            line-height: 18px;
            letter-spacing: 0.04em;
            text-align: center;
        }

        .container-tam{
            display: flex;
            width: 100%;
            flex-wrap: wrap;
            align-items: flex-start;
            justify-content: center;

            .item{
                position: relative;
                display: block;
                width: 46px;
                height: 46px;
                margin-right: 10px;
                margin-bottom: 10px;

                label{
                    position: absolute;
                    cursor: pointer;
                    display: flex;
                    width: 100%;
                    height: 100%;
                    left: 0px;
                    top: 0px;
                    color: helpers.$textoDark;
                    font: normal 15px helpers.$fontSemibold;
                    line-height: 16px;
                    border: solid 1px #9A9A9A;
                    align-items: center;
                    justify-content: center;
                    @include helpers.transicao(0.4s ease-in-out);
                }

                input{
                    display: none;
                }

                &.unavailable,
                &.bloqueado{
                    background-color: helpers.$borders;

                    &:before{
                        position: absolute;
                        z-index: 50;
                        display: block;
                        content: "";
                        width: 1px;
                        height: 60px;
                        top: 30%;
                        left: 50%;
                        margin-top: -21px;
                        background-color: red;
                        -webkit-transform: rotate(45deg);
                        -moz-transform: rotate(45deg);
                        -o-transform: rotate(45deg);
                    }
                }

                &:last-of-type{
                    margin-right: 0px;
                }

                &.ativo{
                    label{
                        border: 2px solid helpers.$highlight;
                        box-shadow: 0px 0px 1px helpers.$highlight;
                    }
                }
            }
        }

        .selecione{
            display: block;
            margin: 5px 0px;
            color: helpers.$textoDark;
            font: normal 15px helpers.$fontRegular;
            text-align: center;
        }
    }
}

#grade {
    &.grade-tradicional{
        margin-top: 30px;
        .tbGrade {
            .skuCell {
                height: 45px;
                overflow: hidden;
                padding: 4px;
                position: relative;
                width: 45px;

                .semEstoque {
                    background: helpers.$medium;
                    color: helpers.$textoLight;
                    display: block;
                    font-size: 9px;
                    height: 45px;
                    left: 4px;
                    padding-top: 9px;
                    position: absolute;
                    text-align: center;
                    top: 4px;
                    width: 45px;
                }
            }
            .skuCor {
                height: 45px;
                width: 45px;

                img {
                    border-right: 1px solid helpers.$borders;
                    height: 45px;
                    width: 45px;
                }
            }
            .skuTam {
                font-family: helpers.$fontRegular;
                font-size: 14px;
                font-weight: bold;
                line-height: 44px;
                text-align: center;
                &:first-child {
                    border-width: 0px 1px 0px 0px;
                }
                &:last-child {
                    border-width: 1px 1px 1px 0px;
                }
            }
            .skuInput {
                border: 1px solid helpers.$borders;
                height: 45px;
                text-align: center;
                width: 45px;
            }
            tfoot {
                display: none;
            }
        }
        #prd-guia {
            color: helpers.$textoDark;
            /*display: none;*/
            font-family: helpers.$fontRegular;
            margin-top: 12px;
            text-decoration: underline;
        }
    }

    &.grade-accordion{
        overflow: hidden;
        margin-bottom: 30px;

        .grade-titulo{
            display: block;
            margin: 0px;
            margin-bottom: 10px;
            color: helpers.$textoMedium;
            font: normal 12px helpers.$fontRegular;
        }

        .cor{
            display: block;
            width: 100%;
            max-width: 295px;
            margin-bottom: 10px;

            @media(max-width:575px){
                max-width:100%;
            }

            .amostra{
                position: relative;
                display: flex;
                outline: 0px;
                width: 100%;
                align-items: stretch;
                justify-content: center;

                .cor-image{
                    display: block;
                    width: 46px;
                    height: 46px;
                    padding: 0px;
                    margin-right: 5px;
                    border: solid 2px helpers.$borders;

                    img{
                        display: block;
                        width: 100%;
                        height: 100%;
                    }
                }

                .cor-titulo {
                    display: block;
                    width:calc(100% - 51px);
                    margin: 0px;
                    padding-left: 15px;
                    padding-right: 10px;
                    color: helpers.$textoDark;
                    font: normal 15px helpers.$fontRegular;
                    line-height: 44px;
                    border: solid 1px helpers.$borders;
                    align-items: center;
                    justify-content: flex-start;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }

            .tamanhos{
                display: none;
                width: 100%;
                overflow: hidden;

                .header{
                    display: flex;
                    width: 100%;
                    align-items: center;
                    justify-content: flex-start;

                    .tamanho,.quantidade{
                        display: block;
                        width: 100%;
                        margin: 0px;
                        padding: 5px 0px;
                        color: helpers.$textoMedium;
                        font: normal 12px helpers.$fontRegular;
                    }

                    .tamanho{
                        max-width: 42px;
                        margin-right: 2px;
                    }

                    .quantidade{
                        width: calc(100% - 121px);
                        text-align: center;
                    }
                }

                .item{
                    display: flex;
                    width: 100%;
                    margin-bottom: 2px;
                    align-items: stretch;
                    justify-content: flex-start;

                    .tamanho{
                        display: flex;
                        margin: 0px;
                        width: 46px;
                        height: 46px;
                        margin-right: 5px;
                        color: helpers.$textoDark;
                        font: normal 15px helpers.$fontRegular;
                        background-color: helpers.$light;
                        border: solid 1px helpers.$borders;
                        align-items: center;
                        justify-content: center;
                    }

                    .skuInput{
                        display: flex;
                        outline: 0px;
                        width: calc(100% - 124px);
                        padding: 0px 10px;
                        color: helpers.$textoDark;
                        font: normal 15px helpers.$fontRegular;
                        text-align: center;
                        border: solid 1px helpers.$borders;
                        box-shadow: none;

                        &.input-deslogado,&.sem-saldo{
                            width: calc(100% - 48px);
                        }

                        &.input-bloqueado{
                            font-size: 12px;
                        }

                        &:hover,&:focus{
                            outline: 0px;
                        }
                    }
                    .skuInput::-webkit-outer-spin-button,
                    .skuInput::-webkit-inner-spin-button {
                        -webkit-appearance: none;
                        margin: 0;
                    }

                    .skuInput[type=number] {
                        -moz-appearance:textfield;
                    }

                    &:last-of-type{
                        p,.skuInput{
                            border-bottom-width: 1px;
                        }
                    }
                }
            }

            &.ativa {
                .amostra {
                    .cor-titulo {
                        /*transform: translateX(0);*/
                    }
                }
            }

            &:last-of-type{
                margin-bottom: 0px;
            }
        }

        .subtotais{
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: flex-end;

            li{
                display: flex;
                width: 100%;
                align-items:flex-start;
                justify-content: space-between;

                p{
                    display: block;
                    width: 50%;
                    padding: 10px;
                    color: helpers.$textoDark;
                    font: normal 15px helpers.$fontBold;
                    text-align: center;
                    background-color: helpers.$medium;
                    border: solid 1px helpers.$borders;
                    border-top: none;

                    &:first-of-type{
                        border-right: none;
                        text-transform: uppercase;
                    }
                }
            }
        }

        .tbGrade {
            .skuCell {
                height: 45px;
                overflow: hidden;
                padding: 4px;
                position: relative;
                width: 45px;

                .semEstoque {
                    background: helpers.$medium;
                    color: white;
                    display: block;
                    font-size: 9px;
                    height: 45px;
                    left: 4px;
                    padding-top: 9px;
                    position: absolute;
                    text-align: center;
                    top: 4px;
                    width: 45px;
                }
            }
            .skuCor {
                height: 45px;
                width: 45px;

                img {
                    border-right: 1px solid helpers.$borders;
                    height: 45px;
                    width: 45px;
                }
            }
            .skuTam {
                font-family: helpers.$fontRegular;
                font-size: 14px;
                font-weight: bold;
                line-height: 44px;
                text-align: center;
                &:first-child {
                    border-width: 0px 1px 0px 0px;
                }
                &:last-child {
                    border-width: 1px 1px 1px 0px;
                }
            }
            .skuInput {
                border: 1px solid helpers.$borders;
                height: 45px;
                text-align: center;
                width: 45px;
            }
            tfoot {
                display: none;
            }
        }
    }
}

.btAddFavoritos, .btRemFavoritos, .btAddFavoritosDeslogado{
    display: flex;
    align-items: center;
    justify-content: center;
    outline: 0px;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 0px;
}

.btnRemFavoritos{
    path{
        fill: #DE5D6C !important;
        stroke: #DE5D6C !important;
    }
}

#prd-guia, .prd-guia{
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0px;
    color: helpers.$textoDark;
    font: normal 13px helpers.$fontRegular;
    line-height: 15px;
    letter-spacing: 0.04em;
}