:root {
    --btn-sm-primary: #fff;
}

.btn-outline-danger {
    color: #d84a57;
    border: 1px solid #d84a57;
    background-color: #fff;
}

.btn-outline-danger:hover {
    color: #fff;
    background-color: #d84a57;
    border-color: #da3a49;
}

.btn-outline-warning {
    color: #ffc107;
    border: 1px solid #ffc107;
    background-color: #fff;
}

.btn-outline-warning:hover {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-outline-primary {
    color: #007bff;
    border: 1px solid #007bff;
    background-color: #fff;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}


.btn-full-width {
    width: 100% !important;
}

.btn-xl {
    width: fit-content;
    padding: 1em;
    font-size: 1.3em;
    white-space: nowrap;
    min-width: auto;
    padding: 0 10px;
}


.btn-sm {
    width: 100%;
    padding: 5px;
}

.btn-sm:hover {
    --btn-sm-primary: #4596ec;
    border: 1px solid #4596ec;
}

.load__animation {
    animation: 1s rotate linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg)
    }
}


/* DROPDOWN NESTED */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: -6px;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
    max-height: 200px;
    overflow-y: auto;
}

[data-filter] ul.dropdown-menu {
    /* padding: 30px 0 0 0; */
}

[data-filter] ul.dropdown-menu li input {
    /* position: fixed;
    top: 2px;
    max-width: 97%; */
}

.promocao__individual {
    background-color: #e65353;
    font-size: 11px;
    color: white;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    min-width: 40px;
    max-height: 40px;
    text-align: center;
    justify-content: center;
    position: absolute;
    left: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    z-index: 1;
    align-items: center;
}









.card__header {
    display: flex;
    /* max-height: 32px; */
    gap: 10px;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.card__grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* .card__grid__body {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
} */

.cg__header {
    /* border-bottom: 1px solid #185ee026; */
    padding: 0 0 10px 0;
}

.cg__footer {
    /* border-top: 1px solid #185ee026; */
    padding: 10px 0 0 0;
}

.cg__header,
.cg__footer {
    /* display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center; */
}

.cg__header__search {
    padding: 0 25px;
}

.card__grid__body {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 2rem;
    gap: 2rem;
}

.products__card {
    position: relative;
    overflow: hidden;
    background-color: var(--container-color);
    padding: 1.25rem 0 0 0;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: .3s;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.products__card:hover {
    box-shadow: 0 8px 32px hsla(0, 0%, 10%, .1);
}

.products__card button:hover {
    background-color: hsla(0, 0%, 18%, 0.628);
}


.products__card .cf__options {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

[opt_tipo] {
    cursor: initial;
}

.products__card .cf__options .cf__option {
    position: relative;
    background-color: #fff;
    width: 30px;
    height: 30px;
    border: 1px solid #dde7fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    color: #4a627e;
}

.right__options {
    right: 10px;
    top: 10px;
}

.left__options {
    left: 10px;
    top: 10px;
}

.cf__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    width: -webkit-fill-available;
    padding: 0 15px;
    align-items: center;
}


.cf__thumbnail {
    display: flex;
    max-height: 180px;
    min-height: 180px;
    overflow: hidden;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.products__card .cf__title {
    display: -webkit-box;
    height: 22px;
    /* padding: 10px 0px; */
    /* text-align: center; */
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

    overflow-wrap: anywhere;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.products__card .cf__price {
    color: #4A627E;
    /* font-family: Poppins; */
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    /* 28.8px */

    text-transform: uppercase;
}


.products__card .cf__promocao {
    text-decoration: line-through;
    font-size: 14px;
    color: #9f9f9f;
}


.cf__load {
    position: absolute;
    width: 100px;
    max-width: 100px;
    min-width: 200px;
    height: 80px;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    right: calc(50% - 100px);
    top: 50%;

    gap: 10px;
}


.cg__header__buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
}


.cg__search__input {
    margin: -3px 0px 0px 0px;
    background-repeat: no-repeat !important;
    padding-right: calc(1.5em + .75rem) !important;
    background-position: right calc(.375em + .1875rem) center !important;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem) !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' height='16' width='16' viewBox='0 0 512 512'%3e%3c!--!Font Awesome Free 6.5.1 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--%3e%3cpath fill='%236c757d' d='M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6 .1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'/%3e%3c/svg%3e");
}



#_render {
    font-size: 0.875rem;
    line-height: 1.125rem;
    font-weight: 400;
}

.editor__header:not(:first-child) {
    margin-top: 25px;
}

#_render p {
    margin-bottom: 0;
    text-align: justify;
}

.cg__footer #_footer_pagination {
    justify-content: right !important;
}

.cg__footer #_footer_lenght_title {
    align-self: center;
}

.cg__header__buttons {
    justify-content: end;
}

.cg__header__search {
    align-self: center;
    width: fit-content;
}






/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {

    .card__grid__body {
        grid-template-columns: repeat(1, 180px);
        justify-content: center;
    }
}


@media screen and (min-width: 767px) {

    .card__grid__body {
        grid-template-columns: repeat(3, 200px);
        justify-content: center;
        gap: 2.5rem;
    }

}

@media screen and (min-width: 992px) {
    .card__grid__body {
        grid-template-columns: repeat(4, 200px);
    }
}

@media screen and (min-width: 1200px) {
    .card__grid__body {
        grid-template-columns: repeat(5, 180px);
    }
}

@media (max-width: 992px) {

    .cf__infos {
        margin-left: 44px;
    }
}

@media (max-width: 1024px) {

    .cg__footer #_footer_pagination {
        justify-content: center !important;
    }

    .cg__footer #_footer_lenght_title {
        text-align: center;
        margin-bottom: 5px;
    }

    .cg__header__buttons {
        justify-content: center;
        margin-bottom: 5px;
        flex-direction: row-reverse;
    }

    .cg__header__search {
        width: 100%;
        text-align: -webkit-center;
    }
}


.field__acoes {
    min-width: 100%;
}

.field__title {
    width: 100%;
    place-content: center;
    color: var(--title-color);
}
