@import url('../fonts/fonts.css');

body {
    font-family: "Vogue Plain", sans-serif;
    font-size: 16px;
    overflow-x: hidden;

    /*google translate fix*/
    top: 0px !important;
    position: static !important;
}

iframe.skiptranslate {
    display: none !important;
    visibility: hidden !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}

.container {
    max-width: 1250px;
}

.btn-show-cart {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #FFF;
}


header .btn-show-cart[data-items]:after {
    content: attr(data-items);
    position: absolute;
    width: 26px;
    height: 26px;
    top: -13px;
    right: -13px;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    font-weight: bold;
    color: #000;
    background: #fff;
    border-radius: 50%;

    box-shadow: 2px 2px 6px 0px #000;
}

#nav-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 24px 0;
}

#nav-mobile a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    flex-grow: 1;
}

#nav-mobile .btn-show-cart-mobile[data-items]:after {
    content: attr(data-items);
    position: absolute;
    width: 26px;
    height: 26px;
    top: -13px;
    left: 60%;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    font-weight: bold;
    color: #000;
    background: #fff;
    border-radius: 50%;
}

.breadcrumbs {
    text-transform: lowercase;
    display: flex;
    flex-wrap: wrap;

    a {
        text-decoration: none;
        color: #777777;
        transition: all 0.3s ease;

        &:hover {
            text-decoration: underline;
        }

        &.has-next {
            margin-right: 60px;
            text-wrap: wrap;

            &::after {
                width: 50px;

                text-align: center;
                position: absolute;
                content: "\f054";
                font-family: "Font Awesome 7 Free";
                padding-top: 2px;

                font-size: 14px;
                font-weight: 900;
                text-decoration: none;
                color: #777777;
            }
        }
    }
}

.card-product {
    min-height: 430px;
    max-height: 430px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #EEE;
}

.card-product .thumb {
    max-width: 250px;
    width: 100%;
    transition: transform 0.3s ease-out;
}

.card-product:hover .thumb {
    transform: translateY(-8px);
}

.card-product .title {
    height: 36px;
    overflow: hidden;
}



/*
    MENU DEPARTAMENTOS
*/
.fade-item {
    position: fixed;
    inset: 0;
    z-index: -1;
    transition: all 0.2s ease;
    width: 100%;
    height: 0;
    pointer-events: none;

    &.show-item {
        backdrop-filter: blur(2px);
        height: 100vh;
        z-index: 1;
        background-color: rgba(0, 0, 0, 0.5);
        pointer-events: auto;
    }
}

.categories_content {
    height: 0px;
    max-height: fit-content;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0;
    margin-block: 0;
    position: absolute;
    width: 100%;
    max-width: 100%;
    z-index: 2;

    .border-right {
        border-right: 1px solid #dee2e6;
    }

    &.show {
        /* padding-block: 0.5rem; */
        height: 100%;
    }

    .dep_button {
        display: flex;
        align-items: center;
        gap: 1em;
        margin: 0.35em 0;
        font-size: 1em;

        a {
            color: #a1a1a1;
            text-decoration: none;
        }

        cursor: pointer;
        transition: all 0.3s ease;

        &:hover {
            color: #333;
            padding-left: 0.35em;
            font-size: 1em;

        }

        .line {
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
            transition: all 0.3s ease;
            transform-origin: center;
        }

        .icon {
            transition: transform 0.3s ease;

            .left,
            .right {
                opacity: 0;
            }

            .vertical,
            .horizontal {
                opacity: 1;
            }

            &.open {
                transform: rotate(270deg);

                .vertical,
                .horizontal {
                    opacity: 0;
                }

                .left,
                .right {
                    opacity: 1;
                }
            }
        }
    }


    .cat-child-link {
        display: flex;

        font-size: large;
        color: #a1a1a1;
        text-decoration: none;
        transition: all 0.3s ease;

        &:hover {
            padding-left: 0.5em;
            color: #333;

        }
    }



    .cat-container {
        height: 0%;
        transition: all 0.3s ease;
        width: 0px;
        overflow: hidden;
        column-width: 200px;
        /* largura mínima */
        column-gap: 20px;

        &.show {
            display: block;
            max-width: 100%;
            width: 100vw;
            background-color: white;
            padding-inline: 0.5em;
            height: 100%;

            .cat-child-link {
                display: block;
                /* cada item em linha própria */
                break-inside: avoid;
                /* evita que o link quebre entre colunas */
                padding: 1em 0.25em;
                font-size: large;
                color: #a1a1a1;
                text-decoration: none;
                transition: all 0.3s ease;
            }
        }

    }


}