/* ============================================================
   DIA DISTRIBUIÇÃO — CSS de modernização (v3)
   Cole ESTE conteúdo no campo "CSS personalizado" do painel Agile.
   É 100% reversível: para voltar ao antigo, basta restaurar o
   conteúdo anterior. Não altera nenhum dado do ERP — só aparência.
   Cores da marca: azul #151d52 / #151c69 · amarelo #f6c62d · branco.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700;800&display=swap');

/* ---------- BASE (mantido do tema atual) ---------- */
body {
    font-family: "Roboto", "sans-serif";
}
.loading__spinner {
    color: #f6c62d;
}
.site-header {
    background: #FFF;
}
.site-header__logo img {
    height: 70px;
}
.footer-contacts__text img {
    height: 55px;
}

/* ---------- TÍTULOS DE SEÇÃO (visual novo) ---------- */
.block-header__title,
.product-tabs__title,
.page-header__title h1,
.footer-links__title,
.footer-contacts__title,
.footer-payment__title,
.footer-seals__title,
.footer-apps__title,
.title-checkout {
    font-family: 'Barlow Semi Condensed', 'Roboto', sans-serif !important;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #151d52;
}

/* ---------- NAVEGAÇÃO / DEPARTAMENTOS ---------- */
.nav-panel {
    background: #151d52;
    color: #fff;
}
.nav-links__item {
    margin-left: 10px;
    border-radius: 50px;
}
.nav-links__item-link {
    font-size: 15px;
    white-space: nowrap;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color .18s ease, color .18s ease;
}
.nav-links__item-link:hover {
    background: rgba(255,255,255,.12);
}
/* último item = botão Ofertas em amarelo */
.nav-links__item:last-child .nav-links__item-link {
    background-color: #f6c62d;
    color: #151d52;
    font-weight: 700;
}
.nav-links__list {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
    padding: 6px;
}
[dir=ltr] .nav-panel__nav-links {
    margin-right: 0px;
    height: 46px;
}

/* ---------- BUSCA (arredondada + botão amarelo) ---------- */
.search__form,
.mobile-header__search-form {
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 0 rgba(0,0,0,.06);
}
.search__button[type="submit"],
.mobile-header__search-button[type="submit"] {
    background: #f6c62d !important;
    color: #151d52 !important;
}

/* ---------- INDICADORES (carrinho / listas) ---------- */
.site-header__cart i {
    color: #151d52;
}
.indicator__value {
    background: #151d52;
    color: #fff;
}
.site-header__phone-title {
    color: #151d52;
    margin-top: 5px;
}
.site-header__topbar {
    color: #151d52;
}
.topbar-link {
    color: #151d52;
}

/* ---------- CARDS DE PRODUTO (o maior salto visual) ---------- */
.product-card {
    border: 1px solid #e4e7ef !important;
    border-radius: 16px !important;
    background: #fff;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover {
    transform: translateY(-3px);
    border-color: #f6c62d !important;
    box-shadow: 0 12px 26px rgba(21,29,82,.10) !important;
}
.product-card .product-card__name {
    min-height: 44px;
    font-weight: 600;
    color: #1a1c2e;
}
.product-card__prices {
    min-height: 40px;
}
/* PREÇO "Por: R$" em fonte condensada e mais forte (v2) */
.product-card__prices,
.product-card__prices *,
.product-card__new-price,
.product-card__price,
.product-card__price--current,
.product-card__price-new {
    font-family: 'Barlow Semi Condensed', sans-serif !important;
}
.product-card__prices .product-card__new-price,
.product-card__new-price,
.product-card__price--current,
.product-card__price-new,
.product-card__prices strong,
.product-card__prices b {
    font-weight: 800 !important;
    color: #151d52 !important;
    font-size: 26px !important;
    line-height: 1.05;
}
/* preço antigo "De: R$" discreto */
.product-card__old-price,
.product-card__price-old {
    font-size: 13px !important;
}

/* BOTÃO ADICIONAR: azul sólido, sem contorno verde, amarelo no hover (v2) */
.product-card__addtocart,
.product-card__addtocart-full,
.product-card .btn,
.product-card button[type="submit"] {
    border-radius: 12px !important;
    background: #151d52 !important;
    background-image: none !important;
    color: #fff !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    transition: background-color .18s ease, color .18s ease;
}
.product-card__addtocart i,
.product-card__addtocart-full i,
.product-card .btn i {
    color: #f6c62d !important;
    transition: color .18s ease;
}
.product-card__addtocart:hover,
.product-card__addtocart-full:hover,
.product-card .btn:hover,
.product-card button[type="submit"]:hover {
    background: #f6c62d !important;
    color: #151d52 !important;
}
.product-card__addtocart:hover i,
.product-card__addtocart-full:hover i,
.product-card .btn:hover i {
    color: #151d52 !important;
}
.form-control.input-number__input {
    border-radius: 12px !important;
}

/* selo de desconto, quando existir no tema */
.product-card__badge,
.tag-badge--sale {
    background: #d33 !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 700;
}

/* ---------- CARROSSEL / SETAS ---------- */
.block-brands__slider .owl-nav i,
.block-products-carousel__slider .owl-nav i {
    color: #151d52;
}
.block-header__arrow {
    background: transparent;
    color: #151d52;
    border-radius: 10px;
}
.block-header__arrow:hover {
    background: #f4f5f8;
    color: #151d52;
}
.block-slideshow .owl-carousel .owl-dot {
    background: #c7cbe0;
}
.block-slideshow .owl-carousel .owl-dot.active {
    background: #f6c62d;
}
.filter__arrow, .filter-categories__item--child {
    color: #151d52;
}
.filter-categories__item--child {
    font-size: 13px;
}

/* ---------- FAIXA DE AVISO (topbar) ---------- */
.topbar-message {
    font-weight: 600;
    background: #f6c62d;
    color: #151d52;
    min-height: 30px;
    padding: 10px;
    margin: 0 400px;
    border-radius: 24px;
}
.topbar {
    position: absolute;
}
.site-header__middle {
    height: 180px;
    margin-bottom: -40px;
}

/* ---------- BARRA DE SERVIÇOS (Meu Mix / Pedidos / Títulos) ---------- */
.service-bar__title a {
    color: #151d52;
    font-weight: 600;
}
.service-bar__title:hover a {
    color: #151c69;
}

/* ---------- NEWSLETTER ---------- */
.site-newsletter {
    background: #151d52;
    color: #FFFFFF;
}
.site-newsletter__button.btn {
    background: #f6c62d !important;
    color: #151d52 !important;
    border: 0;
    font-weight: 700;
    border-radius: 10px;
}

/* ---------- MEGAMENU (v3: hover) ---------- */
.megamenu {
    margin-top: 2px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(21,29,82,.18);
    border: 0;
    padding: 10px;
}
.megamenu__links--level--1 > .megamenu__item > a {
    font-size: 15px;
    white-space: nowrap;
    color: #151d52;
    font-weight: 600;
    padding: 6px 10px !important;
    border-radius: 8px;
    transition: background-color .15s ease, color .15s ease;
}
.megamenu__links--level--1 > .megamenu__item > a:hover,
.megamenu__item a:hover {
    color: #151d52 !important;
    background: #fef4d4 !important;
}

/* ---------- RODAPÉ EM AZUL-MARINHO (visual novo) ---------- */
.site-footer {
    background: #0f1540;
}
.site-footer,
.site-footer a,
.site-footer .footer-contacts__contacts,
.site-footer .footer-links__link {
    color: #c9cee8 !important;
}
.site-footer .footer-links__link:hover {
    color: #fff !important;
}
.site-footer .footer-links__title,
.site-footer .footer-contacts__title,
.site-footer .footer-payment__title,
.site-footer .footer-seals__title,
.site-footer .footer-apps__title {
    color: #fff !important;
}
.footer__text {
    text-align: center;
    color: #f6c62d;
    font-weight: 700;
    margin-top: 10px;
    letter-spacing: .02em;
}
.site-footer__bottom, .site-footer__copyright {
    color: #8a92bd !important;
}
.footer-payment__text img {
    width: 100px !important;
}

/* ---------- APP BAR / MODAIS ---------- */
.topbar-app {
    background: #eef0f6;
    color: #151d52;
    min-height: 40px;
    padding: 15px 0;
}
.topbar-app img {
    background: #FFF;
    padding: 7px;
    box-shadow: 0 2px 6px rgba(96,96,97,.4);
    border-radius: 10px;
    height: 48px;
}
.topbar-app .btn {
    font-weight: 600;
    border-radius: 8px;
}
#modal-location .btn, #modal-location .btn:hover {
    background: #151d52;
    color: #fff;
    padding: 10px;
}

/* ---------- WHATSAPP PULSANTE (mantido) ---------- */
@keyframes pulsoWhatsapp {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.35;
        transform: scale(1.12);
    }
}
.fa-whatsapp__footer-bar {
    animation: pulsoWhatsapp 1s infinite;
    display: inline-block;
    transition: transform .2s ease, opacity .2s ease;
}
.fa-whatsapp__footer-bar:hover {
    animation: none;
    opacity: 1;
    transform: scale(1.18);
}