/* =========================
   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: 0;
    width: 100%;
    background: #ffffff;
}

@media (min-width: 992px) {
    .site__body {
        margin-top: 171px;
    }
}

/* =========================
   NAV / MENU (menos pesado)
========================= */

.nav-panel {
    background: var(--primary);
    color: #FFF;
}

/* 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: 13px;
        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;
}

.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);
}

/* =========================
   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
========================= */

.topbar-message {
    background: #606061;
    color: #FFF;
    min-height: 40px;
    padding: 10px;
}

.topbar-app {
    background: #e1e1e1;
    padding: 15px 0;
}

.topbar-app img {
    background: #FFF;
    padding: 7px;
    border-radius: 10px;
    height: 48px;

    /* sombra otimizada (mais leve) */
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* =========================
   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;
}

/* =========================
   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');
}