[data-theme="default"],
:root {
    --brand-primary: #000;
    --brand-primary-contrast: #fff;
    --brand-primary-hover: #222;
    --brand-accent: #555;
    --brand-accent-soft: rgba(53, 28, 87, 0.06);
    --surface-default: #fff;
    --text-default: #000;

    --red-700: #7a0000;
    --red-600: #980000;
    --red-500: #d40000;
    --white: #fff;
    --menu-border: #555;
}

[v-cloak] {
    display: none;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.lazyload,
.lazyloading {
    opacity: 0;
}

.lazyloaded {
    opacity: 1;
    transition: opacity 500ms;
}

/* Topo */
#barra-topo {
    width: 100%;
    height: 40px;
    background-image: var(--topo-bg-desktop, none);
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--surface-default);
}

#setores > ul > li > a > img {
    display: none;
}

@media (max-width: 900px) {
    #barra-topo {
        width: 100%;
        height: 40px;
        background-image: var(--topo-bg-mobile, var(--topo-bg-desktop, none));
        background-position: center center;
        background-repeat: no-repeat;
        background-color: var(--surface-default);
    }
}

.main_nav {
    background: var(--surface-default) !important;
    color: var(--text-default) !important;
    border-top: 0 !important;
    border-bottom: 45px solid var(--menu-border);
    overflow-x: clip;
}

.main_nav .container {
    padding-top: 8px;
    padding-bottom: 8px;
}

.main_nav .container .row {
    align-items: center;
}

.main_nav a,
.main_nav i {
    color: var(--text-default) !important;
}

.main_nav a:hover {
    opacity: .9;
    color: var(--text-default) !important;
}

.logo img {
    height: 64px;
    max-height: 64px;
    width: auto;
}

.top_line.version_1 {
    background: #000 !important;
    color: #fff !important;
}

/* Busca */
.custom-search-input {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    top: 0;
    background-color: transparent !important;
}

.custom-search-input form {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.custom-search-input input {
    background: var(--white) !important;
    color: #222 !important;
    height: 44px;
    border-radius: 24px;
    border: 0;
    outline: 0;
    padding: 0 52px 0 16px;
    width: 100%;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .08);
}

.custom-search-input button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--red-600);
    color: var(--white);
}

header .main_nav .custom-search-input button[type='submit'] {
    top: 25px;
}

/* Corpo */
main {
    top: -5px;
    min-height: 700px;
    height: auto;
}

/* Rodape */
footer {
    background: #000 !important;
    color: #fff !important;
    border-top: 0 !important;
}

/* Menu principal de setores */
#setores {
    border: 0 !important;
}

#setores .navbar-nav {
    gap: 6px;
}

#setores .navbar-nav .nav-link {
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 12px;
    padding: 12px 58px !important;
    margin-left: 2px;
}

#setores .navbar-nav .nav-link:hover {
    background: #000 !important;
}

/* Mega menu */
.dropdown-mega .dropdown-menu.mega-menu {
    width: min(calc(100vw - 32px), 1200px) !important;
    max-width: 100vw !important;
    padding: 16px !important;
    overflow-x: hidden !important;
    background: var(--surface-default);
    border: 1px solid rgba(0, 0, 0, .08);
}

.dropdown-mega .mega-scroll {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.dropdown-mega .row {
    flex-wrap: wrap !important;
    margin: 0;
    align-items: flex-start !important;
}

.dropdown-mega .row > [class^="col"],
.dropdown-mega .row > [class*=" col"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 220px;
    padding: 6px 12px;
}

.dropdown-mega .dropdown-header,
.dropdown-mega h6,
.dropdown-mega .col > *:first-child {
    margin-top: 0 !important;
}

.dropdown-mega .dropdown-header {
    font-size: .9rem;
    text-transform: uppercase;
    margin-bottom: .25rem;
    padding: 0;
    color: #555 !important;
}

.dropdown-mega ul {
    margin-top: 6px;
}

.main_nav #setores .dropdown-menu a,
.main_nav #setores .dropdown-menu .dropdown-item {
    color: #111 !important;
    white-space: normal;
    padding-left: 0;
}

.main_nav #setores .dropdown-menu .dropdown-item:hover {
    background: rgba(0, 0, 0, .04);
}

/* Menu hamburger */
header.version_1 .menu ul li > span a .hamburger-inner,
header.version_1 .menu ul li > span a .hamburger-inner::before,
header.version_1 .menu ul li > span a .hamburger-inner::after,
header.version_1 .menu ul li > span a.active .hamburger-inner::after {
    background: #fff;
}

/* Outros menus */
header.version_1 .menu ul li ul li a,
#setores > ul > li > ul > li > a {
    color: #000 !important;
}

.dropdown-fone .dropdown-menu {
    margin-left: -115px;
}

.dropdown-fone .dropdown-menu:before {
    left: 50%;
}

.dropdown-fone .dropdown-menu ul {
    margin: 15px -15px -15px -15px;
    padding: 0;
}

.dropdown-fone .dropdown-menu ul li {
    display: block;
    font-size: 14px;
    border-top: 1px solid #ededed;
}

.dropdown-fone .dropdown-menu ul li a {
    height: auto !important;
    color: #444 !important;
    border-left: 2px solid transparent;
    display: block;
    padding: 15px 15px 15px 50px !important;
    position: relative;
    line-height: 1;
}

.dropdown-fone .dropdown-menu ul li a i {
    font-size: 21px;
    margin-right: 10px;
    position: absolute;
    top: 14px;
    left: 15px;
}

.dropdown-fone .dropdown-menu ul li a:hover {
    border-left: 2px solid #000;
    color: #000 !important;
    background: var(--brand-accent-soft);
}

#header > header > div.main_nav.mm-sticky > div.container > div.row.small-gutters > div:nth-child(4) > ul > li:nth-child(2) > div > div > a,
#header > header > div.main_nav.mm-sticky > div.container > div.row.small-gutters > div:nth-child(4) > ul > li:nth-child(2) > div > div > a:hover {
    color: #fff !important;
}

/* Banners */
#banners_grid {
    height: 455px;
}

#carousel-home,
#carousel-home-2 {
    height: 460px;
}

#carousel-home .owl-carousel .owl-slide,
#carousel-home-2 .owl-carousel .owl-slide {
    height: 450px;
}

#insercao-home {
    width: 100%;
    height: 100px;
    background-image: var(--insercao-home-bg-desktop, none);
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #fff;
}

/* Cards */
.grid_item {
    height: 440px;
}

.grid_item figure {
    height: 270px;
}

.grid_item figure img {
    margin-top: 10px;
    max-width: 220px;
    max-height: 250px;
    width: auto;
    height: auto;
}

.new_price {
    color: #000 !important;
}

/* Botoes */
.btn_1 {
    background: #000 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 10px !important;
}

.btn_1:hover {
    background: #222 !important;
    color: #fff !important;
}

.btn_1.outline {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}

.btn_1.outline:hover {
    background: gray !important;
    color: #fff !important;
    border-color: gray;
}

/* Carrossel */
.owl-next,
.owl-prev {
    background: #000 !important;
}

.owl-next:hover,
.owl-prev:hover {
    background: gray !important;
}

#carousel-home .owl-prev,
#carousel-home .owl-next {
    color: black !important;
}

#carousel-home .owl-prev:hover,
#carousel-home .owl-next:hover {
    color: gray !important;
}

/* Modais */
#parcelamento-dialog {
    background: #fff;
    padding: 30px 0;
    text-align: left;
    max-width: 600px;
    margin: 40px auto;
    position: relative;
    box-sizing: border-box;
    border-radius: 4px;
}

#parcelamento-dialog .mfp-close {
    color: #666;
    background: #e4e4e4;
    border-radius: 50%;
    top: 12px;
    right: 20px;
    width: 32px;
    height: 32px;
    line-height: 32px;
}

#parcelamento-dialog .mfp-close:hover {
    color: #fff;
    background: #66676b;
}

#parcelamento-dialog .mfp-close:before {
    font: 16px 'themify';
    content: "\\e646";
}

#buscaModal {
    width: 100%;
    height: 100%;
    top: 60px;
    display: block;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    position: fixed;
    z-index: 10;
}

.buscaModal {
    background: #fff;
    width: 90%;
    margin: 100px auto;
}

/* Off-canvas */
.offcanvas-end {
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: all .4s ease;
}

.offcanvas-end.show {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.offcanvas::-webkit-scrollbar {
    width: 10px;
}

.offcanvas::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.offcanvas::-webkit-scrollbar-thumb {
    background: #888;
}

.offcanvas::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Carrinho */
.box_cart {
    background: #fff;
    padding: 30px 0;
    text-align: right;
}

.box_cart h5 {
    margin: 0;
    text-transform: uppercase;
}

.box_cart small {
    display: block;
    margin-top: 10px;
    text-align: right !important;
}

.box_cart ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    font: 500 16px/1;
}

.box_cart ul li span {
    float: left;
}

.box_cart ul li:last-child {
    margin-top: 10px;
    text-transform: uppercase;
    font: bold 21px/1;
    color: #000 !important;
}

.box_cart ul li:last-child small {
    font-size: small;
    margin-top: -2px;
    color: green;
    text-transform: none;
}

/* Formularios */
.form-control {
    padding: 1.5rem !important;
}

#sign-in-dialog .form-group input.form-control {
    padding-left: 40px !important;
}

#sign-in-dialog .form-group > i {
    margin-top: 6px !important;
}

/* Abas */
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    border-bottom: 2px solid #000 !important;
    color: #000 !important;
    background: transparent;
}

/* Utilitarios */
#whatsbutton {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 99999;
    width: 46px;
    height: 46px;
    cursor: pointer;
}

.img-fluid {
    max-width: 220px;
    max-height: 250px;
    width: auto;
    height: auto;
}

.bg_gray {
    background: #fff;
}

.sqare {
    width: 200px;
    height: 200px;
    background: aquamarine;
    margin: 10px;
}

/* Responsivo */
@media (min-width: 992px) {
    .logo {
        width: 130px;
    }

    #header > header > div.main_nav.mm-sticky.sticky_element > div.container > div.row.small-gutters > div.col.d-none.d-sm-block > a > img {
        width: 110px;
        margin: 0 0 3px 0;
    }

    .main_nav {
        height: 118px;
    }

    #header > header > div.main_nav.mm-sticky.sticky_element {
        height: 80px;
    }

    .navbar-expand-lg .navbar-nav {
        font-weight: bold;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 0;
        padding-right: 0;
    }

    .dropdown-mega.position-static .dropdown-menu.mega-menu {
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    .header-icon_search_custom {
        color: var(--bs-black);
    }

    #setores {
        margin: 0 0 -45px 10px !important;
    }

    #insercaoWhats {
        height: 346px;
    }

    #insercaoAvaliacoes {
        height: 667px;
    }

    .menu ul li ul.expanded {
        height: 650px;
    }

    .menu ul li ul li {
        height: 30px;
    }

    .menu ul li ul li a {
        line-height: 30px;
    }

    .hide_desktop {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .logo img {
        height: 48px;
        max-height: 48px;
    }

    .custom-search-input {
        padding: 8px 0;
    }

    #setores {
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    #insercao-home {
        height: 115px;
        background-image: var(--insercao-home-bg-mobile, var(--insercao-home-bg-desktop, none));
        background-size: contain;
    }
}

@media (max-width: 767px) {
    .grid_item {
        height: auto;
        min-height: 300px;
    }

    .grid_item figure {
        height: 160px;
    }

    .grid_item figure img {
        margin-top: 10px;
        max-width: 160px;
        max-height: 150px;
    }

    .logo {
        width: 90px;
        margin-top: -5px;
    }

    #banners_grid {
        height: 645px;
    }

    #buscaModal {
        top: 120px;
    }

    .box_cart {
        padding: 30px 0;
    }

    #carousel-home {
        height: 450px;
    }
}

#cats nav.categories #menu a {
    text-transform: capitalize !important;
}

#headerCheckout > div {
    height: 70px;
    border: 0;
}

/* provisório */
footer#footer .container {
    position: relative;
}

footer#footer .container::before {
    content: "";
    display: block;
    width: 120px;
    height: 120px;
    background-image: url('https://dash.polikorte.com.br/uploads/VirtualDisc/a2962c8961544942a019.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -54px;
    left: 45%;
    transform: translateX(-50%);
    z-index: 10;
}

footer#footer .container::after {
    content: "Parceiro de disco abrasivo";
    position: absolute;
    top: -43px;
    left: 49%;
    transform: translateX(10%);
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    z-index: 10;
    font-weight: bold;
}
