@font-face {
    font-family: "FontAwesome";
    src: url("font-awesome/fonts/fontawesome-webfont3e6e.woff2?v=4.7.0") format("woff2"),
        url("font-awesome/fonts/fontawesome-webfont3e6e.woff?v=4.7.0") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Glyphicons Halflings";
    src: url("fonts/glyphicons-halflings-regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Acessibilidade MegaMart — overrides leves (sem redesign) */

.skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 10000;
    width: auto;
    height: auto;
    margin: 0;
    padding: 8px 12px;
    clip: auto;
    background: #fff;
    color: #111;
    border: 2px solid #111;
}

/* Títulos de produto: h3 (após h2 da seção) mantém visual do antigo h4 */
.product-thumb h3 {
    font: 400 16px/18px "Poppins", Helvetica, sans-serif;
    margin: 10px 0;
    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
    float: left;
    width: 100%;
}
.product-thumb h3 a {
    color: #444444;
    white-space: nowrap;
}
.product-thumb h3 a:hover,
.product-thumb:hover h3 a {
    color: #000;
}

/* Espelha .box-heading > h3 do tema — classe ttblock-heading fica no filho (span/a) */
.box-heading > h2 {
    border-left: 5px solid var(--main-color);
    color: #000000;
    font: 500 22px/34px "Poppins", sans-serif;
    margin: 0;
    padding: 6px 15px;
    position: relative;
    text-transform: uppercase;
}

.box-heading > h2::after {
    bottom: 0;
    color: var(--main-color);
    content: "\f04b";
    float: right;
    font-family: "FontAwesome";
    font-size: 20px;
    height: 18px;
    left: -5px;
    line-height: 18px;
    margin: auto;
    position: absolute;
    right: auto;
    top: 0;
    width: 15px;
}

.box-heading > h2 .ttblock-heading {
    color: inherit;
    font: inherit;
    text-transform: inherit;
    text-decoration: none;
}

/* Notícias: o azul fica no h2; o span interno não deve repetir borda/padding */
#blog_latest_new_home .title_block > h2 .ttblock-heading {
    border: none;
    padding: 0;
    display: inline;
}

.TT-panel-heading .tt-category-heading {
    margin: 0;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    display: inline;
}

.slideshow-panel .swiper-pager .swiper-button-prev,
.slideshow-panel .swiper-pager .swiper-button-next,
.swiper-pager .swiper-button-prev,
.swiper-pager .swiper-button-next {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

/* Fix bootstrap outline wipe — keep keyboard focus */
a:focus:not(:focus-visible),
a:active:not(:focus-visible),
a:hover:not(:focus-visible) {
    outline: 0 none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
    outline: 2px solid #111 !important;
    outline-offset: 2px !important;
}

/* Contraste leve — textos e placeholders */
.item-description,
.blog-description,
.footer-bottom,
.footer-kenko-floripa,
.footer-menu a,
.depoimento-autor .cidade,
.contact-us .contact-address,
.contact-detail .contact-address {
    color: #595959;
}

/* Redes: círculo roxo + ícone branco; tamanho médio */
footer .contact-us ul li.social-item {
    padding: 0;
    list-style: none;
    clear: both;
    width: 100%;
    float: left;
}
footer .contact-us ul li.social-item .social {
    margin-left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}
footer .contact-us ul li.social-item .social-icons {
    justify-content: flex-start;
    gap: 10px;
}
footer .contact-us ul li.social-item .social-icons i {
    float: none !important;
    width: 40px !important;
    height: 40px !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
    line-height: 40px !important;
}
footer .contact-us ul li.social-item .social-icons i:before {
    color: #ffffff !important;
    font-size: 18px !important;
}

.footer-kenko-floripa a,
.footer-menu a {
    color: #444;
}

.footer-kenko-floripa a:hover,
.footer-menu a:hover {
    color: #222;
}

::-webkit-input-placeholder { color: #666; opacity: 1; }
::-moz-placeholder { color: #666; opacity: 1; }
:-ms-input-placeholder { color: #666; opacity: 1; }
::placeholder { color: #666; opacity: 1; }

.depoimento-nota .estrela {
    color: #757575;
}

.depoimento-nota .estrela.ativa {
    color: #b8860b;
}

.div-content-frete-gratis .label,
.product-thumb .label {
    color: #fff;
}

.form-control.input-error,
.input-error,
.has-error .form-control {
    border-color: #a94442;
}

/* Lupa do CEP no checkout: apenas o ícone branco */
.viacep .btn .fa.fa-search {
    color: #ffffff !important;
    font-size: inherit;
}

/* Notícias: altura automática para respeitar proporção natural da imagem */
#blog_latest_new_home .blog_image_holder {
    height: auto !important;
}
#blog_latest_new_home .blog_image_holder a > img.image_thumb {
    width: 100%;
    height: auto !important;
    max-width: 100%;
    object-fit: unset;
}

/* Certificações: markup com div.item (Owl não deve usar ul/li) */
#certificacoes {
    list-style: none;
    padding-inline-start: 0;
    text-align: center;
}
#certificacoes > .item,
#certificacoes .owl-item > .item {
    width: auto;
    display: inline-block;
    padding: 0 5px;
    line-height: 120px;
    vertical-align: middle;
}
#certificacoes img {
    width: auto;
    height: 65px;
    display: block;
    margin: 0 auto;
}
@media (max-width: 1200px) {
    #certificacoes > .item,
    #certificacoes .owl-item > .item {
        width: 24%;
        margin-bottom: 3px;
    }
    #certificacoes img {
        height: 90px;
    }
}
@media (max-width: 992px) {
    #certificacoes > .item,
    #certificacoes .owl-item > .item {
        width: 32%;
    }
}
@media (max-width: 640px) {
    #certificacoes > .item,
    #certificacoes .owl-item > .item {
        width: 100%;
        max-width: 260px;
    }
    #certificacoes .item img {
        max-width: 85%;
        height: auto;
    }
}

/* Blog carousel: estilos equivalentes ao antigo ul/li */
#blog_latest_new_home .block_content #ttsmartblog-carousel .item {
    padding: 15px;
    text-align: left;
}
