:root {
    --mobile-x-padding: var(--default-mobile-x-padding-dist);
    --transition-x-padding: var(--default-transition-x-padding-dist);
}

/* Sobrescritas basicas sobre o Luma */

header .header.content {
    padding: 0 var(--mobile-x-padding);
    background-color: var(--primary-main-color);
    box-shadow: 0 3px 6px #00000029;
}

header .header.content>div {
    min-height: 75px;
}

body header :is(p, div) {
    font: normal normal normal var(--default-text-size)/var(--default-line-height) var(--default-font-family);
    color: var(--primary-text-color);
}

.logo {
    max-width: 100%;
}

/* MENSAGEM SOBRE O HEADER */

#header_message {
    min-height: 44px;
    transition: .25s;
}

#header_message>div {
    letter-spacing: 2.4px;
    white-space: nowrap;
    overflow-x: hidden;
}

header.page-header.scrolling #header_message {
    /* position: absolute; */
    display: none;
}

#header_message .display-text {
    justify-content: center;
}

#header_message.animate .display-text {
    justify-content: start;
}

#header_message.animate>div>div>div {
    animation: text-header-animation 20s linear infinite;
}

@keyframes text-header-animation {
    0% {
        transform: translateX(100%);
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: .25;
        transform: translateX(-110%);
    }
}


/* HEADER */

header.page-header {
    border-bottom: none;
    margin-bottom: 0;
    background-color: var(--primary-main-color);
    position: sticky;
    z-index: var(--header-z-index);
    top: 0;
    transition: .35s;
}

header a {
    text-decoration: none;
    /* font: normal normal bold var(--default-text-size)/24px var(--default-font-family); */
    color: var(--primary-text-color) !important;
}

header a:visited {
    text-decoration: none;
}

.orcamento {
    background-color: #00a2b633;
}

/* MENU MOBILE */

.mobile-menu {
    z-index: 6;
}

.menu-padding {
    padding: 60px var(--mobile-x-padding);
}

#inner_menu {
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    transition: .25s;
    transform: translateX(-100%);
    overflow-x: hidden;
    overflow-y: auto;
}

#inner_menu.active {
    transform: translateX(0);
}

#inner_menu hr {
    height: 2px;
}

#inner_menu a {
    display: block;
    font-size: 18px;
}

#close_mob_menu {
    margin-bottom: 75px;
}

.nav-arrow {
    position: relative;
}

.nav-arrow::after {
    position: absolute;
    right: 0;
    top: 7px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='13' viewBox='0 0 8 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.50933 12.8L0 11.2907L4.98133 6.4L0 1.50933L1.50933 0L8 6.4L1.50933 12.8Z' fill='black'/%3E%3C/svg%3E%0A");
    color: white;
    width: 9px;
    height: 9px;
    background-repeat: no-repeat;
    background-position: center;
}

.mobile_categories .nav-arrow::after {
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='13' viewBox='0 0 8 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.50933 12.8L0 11.2907L4.98133 6.4L0 1.50933L1.50933 0L8 6.4L1.50933 12.8Z' fill='%23001C47'/%3E%3C/svg%3E%0A");
    top: 15px;
}

#inner_menu .mobile_categories,
#inner_menu .mobile_categories .sub-categories {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    top: 0;
    left: 0;
    transform: translateX(200%);
    transition: .25s;
    z-index: 1;
}

#inner_menu .mobile_categories.active,
#inner_menu .mobile_categories.active .sub-categories.active {
    transform: translateX(0);
}

.mobile_categories.active .sub-categories {
    overflow: auto;
}

#inner_menu .sub-categories a {
    font-size: 18px;
}

#inner_menu .mobile_categories :is(span, div, h1) {
    color: var(--primary-text-color);
}

#inner_menu .mobile_categories hr {
    height: 2px;
    opacity: .5;
    margin-top: 20px;
    width: calc(100% + 30px);
    left: -15px;
}

/* LOGO */

header .logo-container {
    position: absolute;
    left: 0;
    right: 0;
    top: -23px;
}

header .logo img {
    transition: .25s;
}

/* header.page-header .logo img {
    transform: scale(0.8);
} */

/* SEÇÃO */

/* Ultra específico */
.section {
    position: absolute;
    left: 0;
    bottom: -77px;
    width: 100%;
    z-index: -1;
    transition: .25s;
}

.page-header.scrolling .section {
    bottom: 0;
    opacity: 0;
    pointer-events: none;
}

.section .locale,
.section .values {
    background-color: rgba(255, 255, 255, 0.800);
    transition: .25s;
}

.section .locale:hover {
    background-color: rgb(227 227 227 / 90%);
}

.section .locale img {
    max-width: 100%;
}

.section .locale .choose {
    left: 0;
    transform: translateY(-20px);
    opacity: 0;
    z-index: -1;
    transition: .25s;
    background: #fff;
    height: 0;
    overflow: hidden;
}

.section .locale .chevron-up {
    display: none;
}

.section .locale>div.active .chevron-down {
    display: none;
}

.section .locale>div.active .chevron-up {
    display: inline;
}

.section .locale>div.active+.choose {
    opacity: 1;
    transform: translateY(0);
    height: auto;
}

/*  */

/* BUSCA */

header .search {
    z-index: 1;
}

#search_container.active {
    z-index: 6;
}

#search_container .block-content {
    position: fixed;
    left: 100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;
    transition: .25s;
}

#search_container.active .block-content {
    left: 0;
}

#search_container .control {
    background-color: #e8e8e8;
}

#search_container input {
    border: none;
    background-color: inherit;
    box-shadow: none;
}

#search_container .search-lupe {
    top: 9px;
    right: 0;
    position: absolute;
}

#search_autocomplete {
    position: absolute;
    display: block;
    bottom: -49px;
    width: 100% !important;
}

.search-autocomplete ul li {
    background: white !important;
    border: unset !important;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 0;
}

.search-autocomplete ul li .qs-option-name {
    color: var(--primary-main-color);
}

.search-autocomplete ul li .amount {
    color: #999999;
    position: absolute;
    right: 0px;
    top: 12px;
}

/* Sacola */

.counter-number {
    color: var(--secondary-main-color);
    line-height: 13px;
}

#auth_account>div {
    margin: 4px 0;
}

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

    /* header.page-header .logo img {
        transform: scale(1);
    } */

    .logo {
        max-width: 100%;
    }

    .logo img {
        width: 100%;
    }

    header .header.content {
        padding: 0 var(--transition-x-padding);
    }

    /* MENSAGEM SOBRE O HEADER */

    header.page-header.scrolling #header_message {
        position: static;
    }

    /* HEADER */
    header.page-header .header.content {
        padding-top: 30px;
        padding-bottom: 30px;
        transition: .25s;
        box-shadow: none;
    }

    header.page-header.scrolling .header.content {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    header.page-header.scrolling {
        transform: translateY(-100%);
        padding-bottom: 5px;
    }

    header.page-header.scrolling .logo img {
        transform: scale(0.8) translateY(-2px);
        transform-origin: left;
    }

    [id='store.links'] {
        display: none;
    }

    .navigation {
        z-index: 1;
    }

    /* LOGO */

    header .logo-container {
        top: -32px;
    }

    header.page-header .logo img {
        transform-origin: left;
    }

    /* SEÇÕES */

    header .sections a {
        font: normal normal bold 14px/18px var(--default-font-family);
    }

    /* Específico */
    .section {
        position: static;
        opacity: 1 !important;
        z-index: 0;
        pointer-events: auto !important;
    }

    .page-header.scrolling .section {
        bottom: 0;
    }

    .section .locale,
    .section .values {
        background-color: unset;
    }

    .section .values>div {
        letter-spacing: 2.8px;
    }

    .section .locale .choose>a {
        background-color: unset;
    }

    .section .locale .choose>a:hover {
        background-color: rgb(207, 207, 207);
    }

    /* BUSCA */

    header .search {
        position: relative;
    }

    header .search img {
        width: 24px;
        height: 24px;
    }

    #search_container .block-content {
        top: 233px;
        left: 0;
        /* position: absolute; */
        width: 100%;
        padding-right: 0;
        z-index: 1;
        transform: scaleY(1);
        opacity: 1;
        visibility: hidden;
        display: none;
    }

    #search_container.active .block-content {
        height: 100vh;
        z-index: 1;
        visibility: visible;
        display: block;
    }

    #search_container #search_mini_form {
        width: 70%;
        position: absolute;
        left: 15%;
        top: 37px;
    }

    #search_container .control {
        background-color: unset;
    }

    #search_mini_form {
        background-color: var(--primary-main-color);
    }

    #search_mini_form .control .default-padding {
        padding-left: 0;
        padding-right: 0;
    }

    #search_container input {
        border: 1px solid var(--grey);
        min-height: 42px;
        background-color: white;
    }

    /* MINHA CONTA */

    header .login {
        position: relative;
    }

    #auth_account {
        border-radius: 6px;
        top: 50px;
        right: -60px;
        width: 150px;
        transform: scaleY(0);
        transform-origin: top;
        transition: .2s;
    }

    #auth_account.customer {
        width: 150px;
    }

    #auth_account.active {
        transform: scaleY(1);
    }

    #auth_account>div::before {
        content: '';
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 10px solid var(--secondary-main-color);
        position: absolute;
        top: -10px;
        right: 73px;
    }

    #auth_account.guest a span {
        font: normal normal normal 12px/14px 'Open Sans' !important;
    }

    #auth_account.active+div {
        pointer-events: none;
    }

    /* CATEGORIAS DESK */

    .categories-header {
        position: sticky;
        top: 184px;
        z-index: calc(var(--header-z-index) - 1);
        background-color: var(--primary-main-color);
        box-shadow: 0 3px 6px #00000029;
    }

    header+.categories-header {
        transition: .35s;
    }

    header.scrolling+.categories-header {
        top: 0;
    }

    .main-categories a {
        text-decoration: none;
    }

    .main-categories .cat-container {
        max-width: 150px;
        min-width: 100px;
    }

    .main-categories .cat-container span {
        font-size: 14px;
        text-align: center;
        display: inline-block;
        color: var(--primary-text-color);
    }

    .main-categories>div:hover .cat-container span {
        color: var(--secondary-text-color);
    }

    .main-categories .cat-container span .main-categories>div {
        transition: .25s;
    }

    /* .main-categories>div:nth-of-type(1n+2) .cat-container::before {
        content: '';
        position: absolute;
        height: 50%;
        width: 1px;
        background: #001C4733;
        left: 0;
        top: 25%;
        transition: .25s;
    } */

    .main-categories>div:hover {
        background-color: var(--secondary-main-color);
        transition: .35s;
    }

    .main-categories>div:hover:before {
        opacity: 0;
    }

    /* .main-categories>div:hover+div+div:not(.position-absolute)::before {
        opacity: 0;
    } */

    .main-categories .sub-categories {
        left: 12%;
        top: 50px;
        width: 75%;
        background-color: white;
        z-index: -1;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform .15s 0s;
        border-radius: 0 0 8px 8px;
    }

    .main-categories>div:hover>.sub-categories,
    .main-categories .sub-categories:hover {
        opacity: .95;
        transform: scaleY(.99);
        transition: transform .35s .20s;
        padding-bottom: 30px;
    }

    .main-categories .sub-cat-container {
        opacity: 0;
        padding: 50px 48px 48px;
        transition: .25s .35s;
        transition: opacity 0s;
        overflow: auto;
        max-height: 60vh;
    }

    .main-categories>div:hover>.sub-categories .sub-cat-container,
    .main-categories .sub-categories:hover .sub-cat-container {
        opacity: 1;
    }

    .main-categories .sub-cat-container .category .parent:hover {
        background-color: #e9e9e9;
    }

    .main-categories .sub-cat-container .category .children {
        left: 30%;
        top: 0;
        transition: .25s;
        opacity: 0;
        pointer-events: none;
    }

    .main-categories .sub-cat-container .category .children {
        left: 25%;
        top: 0;
        width: 70%;
        height: 100%;
        transition: .25s;
        opacity: 0;
        pointer-events: none;
        padding-left: 50px;
    }

    .main-categories .sub-cat-container .category:hover .children {
        opacity: 1;
        pointer-events: auto;
    }

    .main-categories .sub-cat-container .image-container {
        padding-right: 48px;
        position: sticky;
        top: 0;
    }

    .main-categories .sub-cat-container img {
        width: 100%;
        min-height: 255px;
        object-fit: cover;
    }

    .main-categories .sub-cat-container .sub-categories-container {
        padding-left: 10px;
    }

    .main-categories .sub-cat-container .sub-categories-container a {
        position: relative;
    }

    .main-categories .sub-cat-container .sub-categories-container .children a::after {
        content: '';
        border-bottom: 2px solid var(--secondary-main-color);
        width: 0%;
        left: 0;
        position: absolute;
        bottom: 0;
        transition: .25s;
        opacity: 0;
    }

    .main-categories .sub-cat-container .sub-categories-container a:hover::after {
        opacity: 1;
        width: 100%;
    }

}

@media screen and (min-width: 1400px) {
    header .header.content {
        padding: 0 var(--mobile-x-padding);
    }
}