/* =========================
   BASE OTIMIZADA
========================= */

/* Melhor fallback de fonte */
body {
    font-family: system-ui, -apple-system, Arial, sans-serif;
}

/* Variável de cor (evita repetição) */
:root {
    --primary: #04A54F;
}

/* =========================
   HEADER
========================= */

.loading__spinner {
    color: var(--primary);
}

.site-header__logo img {
    height: 70px;
    width: auto;
    /* evita CLS */
}

.site-header__cart i {
    color: #999;
}

.site-header__cart i:hover {
    color: #5a5a5a;
}

.site-header__cart .indicator__value {
    background-color: var(--primary);
    color: #fff;
}

.site-header {
    position: fixed;
    top: 40;
    width: 100%;
    background: #ffffff;
    z-index: 9999;
}

@media (min-width: 992px) {
    .site__body {
        margin-top: 200px;
    }
}

/* =========================
   NAV / MENU (menos pesado)
========================= */

.nav-panel {
    background: var(--primary);
    color: #FFF;
    height: 60px;
}

/* Removido position absolute pesado */
.nav-links__list {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajustes responsivos simplificados */
@media (min-width: 992px) {
    .nav-links__item-link {
        font-size: 16px;
        font-weight: 500;
        white-space: nowrap;
    }
}

.nav-links__item-body {
    padding: 0 11px;
}

.nav-links__item--has-submenu .nav-links__item-body {
    padding-right: 11px;
    height: 60px;
}

.nav-links__item-body .fa-chevron-down {
    display: none;
}

.nav-links__item {
    margin: 0 -3px;
}

/* =========================
   PRODUTOS
========================= */

.product-card__price,
.product-card__new-price,
.product__price,
.product__new-price {
    color: var(--primary);
}

.product-card__prices {
    min-height: 15px;
}

.block-products-carousel__column .product-card__name {
    min-height: 55px;
}

.block-products-carousel__column .product-card__prices {
    min-height: 35px;
    margin-bottom: 10px;
}

.block-products-carousel__column .product-card__buttons {
    margin-top: 0;
}

/* =========================
   BOTÕES / ELEMENTOS
========================= */

.top-button {
    color: var(--primary);
}

.page-header__back i {
    color: var(--primary);
}

.input-check__input:checked ~ .input-check__box {
    background: var(--primary);
}

/* =========================
   SLIDER (mantido leve)
========================= */

.block-slideshow .owl-carousel .owl-dot {
    background: #999;
}

.block-slideshow .owl-carousel .owl-dot.active {
    background: var(--primary);
}

/* =========================
   FOOTER
========================= */

.footer-contacts__text img {
    height: 70px;
}

.footer-apps__text img {
    width: 120px;
}

.footer-seals__text img {
    width: 50%;
}

/* Títulos */
.title-checkout,
.footer-links__title,
.footer-contacts__title,
.footer-newsletter__title,
.footer-payment__title,
.footer-seals__title,
.footer-apps__title,
.block-header__title,
.page-header__title,
.product__name {
    color: var(--primary);
    margin-top: 30px;
}

/* =========================
   MEGAMENU
========================= */

.megamenu {
    background: var(--primary);
}

.megamenu__links--level--1 > .megamenu__item > a {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    padding-right: 20px;
    color: #FFFFFF;
}

.megamenu__links--level--1 > .megamenu__item > a:hover,
.megamenu__links--level--1 > .megamenu__item > a:active,
.megamenu__links--level--1 > .megamenu__item > a:focus {
    color: #FFFFFF;
}

/* =========================
   TOPBAR - Atualizado 2026-05-19
========================= */

.topbar-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #006223;
    color: #FFF;
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;
    z-index: 9999;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;

    box-sizing: border-box;
}

/* espaço para não cobrir o header */
body {
    padding-top: 40px;
}


/* APP BAR */
.topbar-app {
    background: #e1e1e1;
    padding: 15px 0;

    display: flex;
    justify-content: center;
    gap: 15px;
}

/* IMAGEM */
.topbar-app img {
    background: #FFF;
    padding: 7px;
    border-radius: 10px;
    height: 48px;

    box-shadow: 0 1px 2px rgba(0,0,0,0.2);

    transition: .2s ease;
}

.topbar-app img:hover {
    transform: translateY(-2px);
}

/* TOPBAR FADE */
.topbar-fade {
    position: relative;
    min-height: 24px;
    width: 100%;
    text-align: center;
}

/* MENSAGENS */
.topbar-fade .msg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;

    opacity: 0;

    color: #FFF;
    font-size: 13px;

    animation: fadeTopbar 12s infinite;
    overflow: hidden;
}

/* delays */
.topbar-fade .msg:nth-child(1) {
    animation-delay: 0s;
}

.topbar-fade .msg:nth-child(2) {
    animation-delay: 4s;
}

.topbar-fade .msg:nth-child(3) {
    animation-delay: 8s;
}

/* pausa hover */
.topbar-fade:hover .msg {
    animation-play-state: paused;
}

/* BOTÃO */
.topbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 10;

    margin-left: 10px;
    padding: 3px 10px;

    border: 1px solid #FFF;
    border-radius: 3px;

    color: #FFF !important;
    text-decoration: none;

    font-weight: 700;
    font-size: 12px;

    cursor: pointer;

    transition: .2s ease;
}
.topbar-btn:hover {
    background: #FFF;
    color: #006223 !important;
}

/* ANIMAÇÃO */
@keyframes fadeTopbar {

    0% {
        opacity: 0;
        transform: translateY(5px);
    }

    5% {
        opacity: 1;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(0);
    }

    35% {
        opacity: 0;
        transform: translateY(-5px);
    }

    100% {
        opacity: 0;
        transform: translateY(-5px);
    }

}

/* mensagem visível */
.topbar-fade .msg.active {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}

.topbar-fade .msg {
    pointer-events: none;
    white-space: nowrap;
}

.topbar-fade .msg a,
.topbar-fade .msg .topbar-btn {
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

@media (max-width:768px) {

    .topbar-message {
        min-height: 36px;
        padding: 8px 10px;
    }

    .topbar-fade {
        min-height: 18px;
    }

    .topbar-fade .msg {
        font-size: 12px;
        white-space: nowrap;
    }

    .topbar-btn {
        font-size: 9px;
        padding: 3px 8px;
        margin-left: 4px;
    }

}

/* =========================
   AJUSTES ESPECÍFICOS
========================= */

.nav-links__item:nth-child(11) .nav-links__item-body {
    /*background-color: #05621d;*/
}

.nav-links__item:nth-child(12) .nav-links__item-body {
    /*background-color: #ed1818;*/
    margin-left: 10px;
    color: #FFFFFF;
}

.nav-links__item:last-child .nav-links__item-link {
    /*background-color: #93CF1C;*/
    margin-left: 10px;
    color: #FFFFFF;
}

.nav-links__item:last-child(-1) .nav-links__item-link {
    background-color: #05621d;
}

/* =========================
   CHECKOUT
========================= */

.container__cart-container__split-title,
.container__confirmation-container__split-title,
.checkout__totals__split-title {
    display: none;
}

/* =========================
   MODAL
========================= */

.modal-header {
    background: var(--primary);
    color: #ffffff;
}

.fa-times {
    color: #ffffff;
}

/* =========================
   AJUSTES ROBERTO
========================= */

.product__features--codigo {
    position: relative;
    top: -18px;
    font-weight: bold;
    margin-bottom: 6px;
}

.product__features--sku {
    position: relative;
    top: 30px;
    margin-top: 6px;
}

/* =========================
   PERFORMANCE (FONTES)
========================= */

/* Mantido apenas essencial + swap */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/roboto/v51/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2') format('woff2');
}

/* =========================
   MENU DEPARTAMENTOS 3 NIVEIS
========================= */
.nav-links__list {
    justify-content: flex-start !important;
}

.nav-links__item {
    margin: 0;
}

.nav-links__item-body,
.nav-links__item--has-submenu .nav-links__item-body {
    padding-left: 13px;
    padding-right: 13px;
    height: 60px;
}

.nav-links__item:nth-child(3) .nav-links__item-body {
    /*background-color: #05621d;*/
}

.nav-links__item:nth-child(4) .nav-links__item-body {
    /*background-color: #ed1818;*/
    margin-left: 10px;
    color: #FFFFFF;
}

.nav-links__item:nth-child(5) .nav-links__item-link,
.nav-links__item:last-child .nav-links__item-link {
    /*background-color: #93CF1C;*/
    margin-left: 10px;
    color: #FFFFFF;
}

.megamenu,
.megamenu--supports-level-3 .megamenu__flyout-panel > .menu {
    background: var(--primary);
}

.megamenu__links--level--1 > .megamenu__item > a,
.megamenu--supports-level-3 .megamenu__flyout-panel .menu__item-link {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
}

.megamenu__links--level--1 > .megamenu__item > a:hover,
.megamenu__links--level--1 > .megamenu__item > a:active,
.megamenu__links--level--1 > .megamenu__item > a:focus,
.megamenu--supports-level-3 .megamenu__flyout-panel .menu__item-link:hover,
.megamenu--supports-level-3 .megamenu__flyout-panel .menu__item-link:active,
.megamenu--supports-level-3 .megamenu__flyout-panel .menu__item-link:focus {
    color: #FFFFFF;
}


/* =========================
   AJUSTE MENU DEPARTAMENTOS 3 NIVEIS - 2026-04-28
========================= */
.nav-links__item-body,
.nav-links__item--has-submenu .nav-links__item-body {
    padding-left: 18px !important;
    padding-right: 18px !important;
    height: 60px;
}

.nav-links__item:nth-child(3) .nav-links__item-body,
.nav-links__item:nth-child(4) .nav-links__item-body,
.nav-links__item:nth-child(5) .nav-links__item-body,
.nav-links__item:last-child .nav-links__item-body {
    color: #FFFFFF;
}

.nav-links__item:nth-child(3) .nav-links__item-body {
    /*background-color: #05621d;*/
}

.nav-links__item:nth-child(4) .nav-links__item-body {
    /*background-color: #ed1818;*/
    margin-left: 10px;
}

.nav-links__item:nth-child(5) .nav-links__item-body,
.nav-links__item:last-child .nav-links__item-body {
    /*background-color: #93CF1C;*/
    margin-left: 10px;
}

.nav-links__item:nth-child(3) .nav-links__item-link,
.nav-links__item:nth-child(4) .nav-links__item-link,
.nav-links__item:nth-child(5) .nav-links__item-link,
.nav-links__item:last-child .nav-links__item-link {
    background: transparent !important;
    margin-left: 0 !important;
    color: #FFFFFF;
}

.megamenu__links--level--1 > .megamenu__item > a,
.megamenu--supports-level-3 .megamenu__flyout-panel .menu__item-link {
    line-height: 1.8;
    padding-top: 2px;
    padding-bottom: 2px;
}


/* =========================
   ALINHAMENTO MENU COM MARCA - 2026-04-28
========================= */
@media (min-width: 992px) {
    .nav-links__list {
        /* padding-left: 82px !important;*/
    }
}


/* =========================
   REFINO ALINHAMENTO TOPMENU - 2026-04-28
========================= */
@media (min-width: 992px) {
    .nav-links__list {
        /*padding-left: 150px !important;*/
        gap: 12px;
    }

    .nav-links__item {
        margin: 0 !important;
    }

    .nav-links__item-body,
    .nav-links__item--has-submenu .nav-links__item-body {
        padding-left: 24px !important;
        padding-right: 24px !important;
        justify-content: center;
        height: 60px;
    }

    .nav-links__item:nth-child(3) .nav-links__item-body,
    .nav-links__item:nth-child(4) .nav-links__item-body,
    .nav-links__item:nth-child(5) .nav-links__item-body,
    .nav-links__item:last-child .nav-links__item-body {
        margin-left: 0 !important;
        color: #FFFFFF;
    }

    .nav-links__item:nth-child(1) .nav-links__item-body {
        background-color: #05621d;
    }

    .nav-links__item:nth-child(3) .nav-links__item-body {
        /* background-color: #05621d;*/
    }

    .nav-links__item:nth-child(4) .nav-links__item-body {
        /*background-color: #ed1818;*/
    }

    .nav-links__item:nth-child(5) .nav-links__item-body,
    .nav-links__item:last-child .nav-links__item-body {
        /*background-color: #93CF1C;*/
    }

    .nav-links__item:nth-child(3) .nav-links__item-link,
    .nav-links__item:nth-child(4) .nav-links__item-link,
    .nav-links__item:nth-child(5) .nav-links__item-link,
    .nav-links__item:last-child .nav-links__item-link {
        background: transparent !important;
        margin-left: 0 !important;
        color: #FFFFFF;
    }
}

.nav-panel__nav-links {
    padding-left: 49px;
}


.shop-layout__content {
    width: 90%;
}

/* =========================
   REFINO ESPACAMENTO MENU 3 NIVEIS - 2026-04-28
========================= */
.megamenu__links--level--1 > .megamenu__item > a,
.megamenu--supports-level-3 .megamenu__flyout-panel .menu__item-link {
    line-height: 1.7;
    padding-top: 1px;
    padding-bottom: 1px;
}