/**
 * =============================================================================
 * ARQUIVO : /assets/css/home-mobile-v20.css
 * PROJETO : BomVendedor
 * MÓDULO  : Home Mobile UX Premium
 * VERSÃO  : V20.3.9 BLOG MOBILE MEDIA FIT — 21/06/2026
 * =============================================================================
 * Objetivo:
 * - Estilizar somente a Home em dispositivos mobile.
 * - Preservar o Desktop exatamente como está.
 * - Reduzir rolagem até produto/oferta.
 * - Trazer busca, categorias, melhor oferta e feed compacto para o topo.
 * - Corrigir menu mobile, hero em telas estreitas e rotação de categorias.
 * =============================================================================
 */

.home-mobile-v20 {
    display: none;
}

/**
 * V20.3.3 — Ajuste de respiro final da Home desktop
 * Reduz o espaço acumulado entre o último BomAds da Home e o footer.
 */
.bv-page.bv-home {
    padding-bottom: 24px;
}

.bv-page.bv-home > .container > .home-ad-section:last-of-type {
    margin-bottom: 12px;
}

.bv-page.bv-home + .bv-footer {
    margin-top: 26px;
    padding-top: 36px;
}


@media (max-width: 767px) {
    :root {
        --hmv20-navy: #0D1B3D;
        --hmv20-gold: #F5B700;
        --hmv20-blue: #36B4E5;
        --hmv20-bg: #EEF3F8;
        --hmv20-card: #FFFFFF;
        --hmv20-line: #D8E1EC;
        --hmv20-text: #081225;
        --hmv20-muted: #65758B;
        --hmv20-green: #12A150;
        --hmv20-red: #FF6B35;
    }

    body {
        background: var(--hmv20-bg);
    }

    body:has(.home-mobile-v20) {
        padding-bottom: 82px;
    }

    .bv-home {
        padding-top: 10px;
    }

    .bv-home .container {
        width: 100%;
        max-width: 100%;
        padding-inline: 12px;
    }

    .bv-home .container > :not(.home-mobile-v20) {
        display: none !important;
    }

    .home-mobile-v20 {
        display: block;
        padding-bottom: 16px;
    }

    /* Header global otimizado apenas na Home mobile */
    .bv-home ~ .bv-footer {
        margin-bottom: 76px;
    }

    .bv-header {
        position: sticky;
        top: 0;
        z-index: 900;
        background: #ffffff;
        box-shadow: 0 10px 24px rgba(13, 27, 61, .08);
    }

    .bv-header__container {
        position: relative;
        padding: 8px 12px 10px !important;
    }

    .bv-header__top {
        grid-template-columns: 1fr auto !important;
        gap: 8px !important;
    }

    .bv-brand__logo {
        width: 142px !important;
        max-height: 44px !important;
    }

    .bv-mobile-toggle {
        width: 40px;
        height: 40px;
        border-radius: 999px;
    }

    .bv-search {
        grid-column: 1 / -1 !important;
        grid-template-columns: 1fr !important;
        margin-top: 2px;
    }

    .bv-search__box {
        min-height: 46px;
        border-radius: 999px;
        background: #ffffff;
        border-color: rgba(13, 27, 61, .14);
        box-shadow: 0 10px 24px rgba(13, 27, 61, .08);
    }

    .bv-search__button {
        display: none !important;
    }

    .bv-header__bottom,
    .bv-header__bottom.is-open {
        display: none !important;
    }

    .hmv20-hero {
        position: relative;
        overflow: hidden;
        min-height: 150px;
        margin-top: 12px;
        padding: 22px 20px;
        border-radius: 24px;
        background:
            radial-gradient(circle at 82% 20%, rgba(54, 180, 229, .34), transparent 28%),
            linear-gradient(135deg, #071733 0%, var(--hmv20-navy) 62%, #12306b 100%);
        color: #ffffff;
        box-shadow: 0 18px 42px rgba(13, 27, 61, .20);
    }

    .hmv20-eyebrow {
        display: inline-flex;
        align-items: center;
        min-height: 24px;
        padding: 0 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .12);
        color: #dbeafe;
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .hmv20-hero h1 {
        max-width: 245px;
        margin: 10px 0 6px;
        font-size: 26px;
        line-height: 1.05;
        font-weight: 950;
        letter-spacing: -.04em;
    }

    .hmv20-hero h1 strong {
        color: var(--hmv20-gold);
    }

    .hmv20-hero p {
        max-width: 230px;
        margin: 0;
        color: #dbeafe;
        font-size: 14px;
        line-height: 1.35;
        font-weight: 650;
    }

    .hmv20-hero__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        margin-top: 14px;
        padding: 0 18px;
        border-radius: 16px;
        background: var(--hmv20-gold);
        color: var(--hmv20-navy);
        font-weight: 950;
        text-decoration: none;
        box-shadow: 0 14px 26px rgba(245, 183, 0, .24);
    }

    .hmv20-hero__visual {
        position: absolute;
        right: 18px;
        top: 28px;
        width: 138px;
        height: 118px;
        pointer-events: none;
    }

    .hmv20-hero__tag,
    .hmv20-hero__check,
    .hmv20-hero__cart {
        position: absolute;
        display: grid;
        place-items: center;
    }

    .hmv20-hero__tag {
        left: 0;
        top: 18px;
        width: 56px;
        height: 56px;
        border-radius: 18px;
        background: rgba(54, 180, 229, .22);
        color: #9be7ff;
        font-size: 28px;
        font-weight: 950;
        transform: rotate(-12deg);
    }

    .hmv20-hero__cart {
        right: 0;
        bottom: 0;
        font-size: 62px;
        filter: drop-shadow(0 12px 16px rgba(0,0,0,.20));
    }

    .hmv20-hero__check {
        right: 4px;
        top: 0;
        width: 58px;
        height: 58px;
        border-radius: 999px;
        background: var(--hmv20-gold);
        color: var(--hmv20-navy);
        font-size: 32px;
        font-weight: 950;
    }

    .hmv20-categories {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px 8px;
        overflow: visible;
        padding: 12px 0 14px;
        margin: 0;
    }

    .hmv20-category {
        min-width: 0;
        display: grid;
        justify-items: center;
        align-content: start;
        gap: 7px;
        color: var(--hmv20-text);
        text-decoration: none;
        font-size: 10px;
        font-weight: 850;
        line-height: 1.12;
        text-align: center;
    }

    .hmv20-category > span:last-child {
        display: -webkit-box;
        min-height: 23px;
        max-width: 100%;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hmv20-category__icon {
        display: grid;
        place-items: center;
        width: 54px;
        height: 54px;
        border-radius: 17px;
        background: #ffffff;
        border: 1px solid var(--hmv20-line);
        box-shadow: 0 10px 22px rgba(13, 27, 61, .06);
    }

    .hmv20-category__icon img {
        width: 38px;
        height: 38px;
        object-fit: contain;
    }

    .hmv20-ad {
        margin: 12px 0 18px;
    }

    .hmv20-ad--middle {
        margin: 16px 0 0;
    }

    .hmv20-ad--footer {
        margin: 18px 0 8px;
    }

    .hmv20-ad .bomads-slot {
        margin: 0;
    }

    .hmv20-ad .bomads-slot__frame,
    .hmv20-ad .bomads-slot__card {
        width: 100%;
        border-radius: 22px;
        border-color: rgba(216, 225, 236, .95);
        box-shadow: 0 16px 34px rgba(13, 27, 61, .10);
    }

    .hmv20-ad .bomads-slot__frame {
        aspect-ratio: auto;
        height: clamp(112px, 36vw, 190px);
        background: #ffffff;
    }

    .hmv20-ad--top .bomads-slot__frame {
        height: clamp(140px, 52vw, 260px);
    }

    .hmv20-ad .bomads-slot__media {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        max-height: none;
        object-fit: contain;
        background: #ffffff;
    }

    .hmv20-ad .bomads-slot__card {
        min-height: 112px;
        padding: 16px;
    }

    .hmv20-featured {
        margin-top: 4px;
        border-radius: 24px;
        overflow: hidden;
        background: var(--hmv20-card);
        border: 1px solid var(--hmv20-line);
        box-shadow: 0 18px 40px rgba(13, 27, 61, .08);
    }

    .hmv20-featured__head {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 16px;
        background: var(--hmv20-navy);
        color: #ffffff;
        font-size: 13px;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .hmv20-featured__head span {
        color: var(--hmv20-gold);
    }

    .hmv20-featured__card {
        display: grid;
        grid-template-columns: 104px 1fr;
        gap: 14px;
        padding: 14px;
        color: var(--hmv20-text);
        text-decoration: none;
        position: relative;
    }

    .hmv20-featured__image {
        display: grid;
        place-items: center;
        width: 104px;
        min-height: 116px;
        border-radius: 18px;
        background: #f5f8fc;
        overflow: hidden;
    }

    .hmv20-featured__image img {
        width: 100%;
        height: 100%;
        max-height: 118px;
        object-fit: contain;
    }

    .hmv20-featured__body {
        display: grid;
        align-content: start;
        gap: 4px;
        min-width: 0;
        padding-right: 2px;
    }

    .hmv20-featured__body strong {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 16px;
        line-height: 1.18;
        font-weight: 950;
        letter-spacing: -.025em;
    }

    .hmv20-featured__body em {
        color: var(--hmv20-muted);
        font-style: normal;
        font-size: 12px;
        font-weight: 750;
    }

    .hmv20-featured__meta {
        display: inline-flex;
        width: fit-content;
        margin-top: 2px;
        padding: 5px 9px;
        border-radius: 999px;
        background: #eaf7ff;
        color: var(--hmv20-navy);
        font-size: 11px;
        font-weight: 900;
    }

    .hmv20-featured__price {
        margin-top: 2px;
        font-size: 22px;
        font-weight: 950;
        letter-spacing: -.04em;
        color: var(--hmv20-navy);
    }

    .hmv20-featured__body small {
        color: var(--hmv20-green);
        font-size: 12px;
        font-weight: 900;
    }

    .hmv20-featured__cta {
        position: absolute;
        right: 14px;
        bottom: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 0 14px;
        border-radius: 15px;
        background: var(--hmv20-gold);
        color: var(--hmv20-navy);
        font-size: 12px;
        font-weight: 950;
    }

    .hmv20-section {
        margin-top: 18px;
    }

    .hmv20-section__head {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 12px;
        margin: 0 2px 10px;
    }

    .hmv20-section__head h2 {
        margin: 0;
        color: var(--hmv20-text);
        font-size: 20px;
        line-height: 1.15;
        font-weight: 950;
        letter-spacing: -.03em;
    }

    .hmv20-section__head a {
        color: #1d4ed8;
        font-size: 13px;
        font-weight: 900;
        text-decoration: none;
        white-space: nowrap;
    }

    .hmv20-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .hmv20-product {
        min-width: 0;
        overflow: hidden;
        border-radius: 22px;
        background: var(--hmv20-card);
        border: 1px solid var(--hmv20-line);
        box-shadow: 0 12px 28px rgba(13, 27, 61, .06);
    }

    .hmv20-product__image {
        display: grid;
        place-items: center;
        height: 132px;
        margin: 10px 10px 0;
        border-radius: 18px;
        background: #f5f8fc;
        overflow: hidden;
    }

    .hmv20-product__image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hmv20-product__content {
        display: grid;
        gap: 5px;
        padding: 10px;
    }

    .hmv20-badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        width: fit-content;
        min-height: 24px;
        padding: 5px 9px 5px 6px;
        border-radius: 999px;
        border: 1px solid rgba(18, 161, 80, .16);
        background: linear-gradient(135deg, #effdf5 0%, #ddfaeb 100%);
        color: var(--hmv20-green);
        font-size: 10px;
        font-weight: 950;
        line-height: 1;
        letter-spacing: -.01em;
        box-shadow: 0 8px 18px rgba(18, 161, 80, .10);
    }

    .hmv20-badge__icon {
        display: inline-grid;
        place-items: center;
        width: 16px;
        height: 16px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .92);
        font-size: 10px;
        line-height: 1;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
    }

    .hmv20-badge--drop {
        border-color: rgba(18, 161, 80, .20);
        background: linear-gradient(135deg, #e9fff3 0%, #ccf8e0 100%);
        color: #04733a;
        box-shadow: 0 8px 20px rgba(18, 161, 80, .13);
    }

    .hmv20-badge--best {
        border-color: rgba(54, 180, 229, .22);
        background: linear-gradient(135deg, #eef9ff 0%, #d8f1ff 100%);
        color: #075985;
        box-shadow: 0 8px 20px rgba(54, 180, 229, .13);
    }

    .hmv20-badge--watch {
        border-color: rgba(101, 117, 139, .16);
        background: linear-gradient(135deg, #f8fbff 0%, #eef3f8 100%);
        color: var(--hmv20-muted);
        box-shadow: 0 8px 18px rgba(13, 27, 61, .06);
    }

    .hmv20-product h3 {
        min-height: 38px;
        margin: 0;
        font-size: 13px;
        line-height: 1.22;
        font-weight: 850;
    }

    .hmv20-product h3 a {
        display: -webkit-box;
        color: var(--hmv20-text);
        text-decoration: none;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hmv20-product strong {
        color: var(--hmv20-navy);
        font-size: 18px;
        line-height: 1;
        font-weight: 950;
        letter-spacing: -.035em;
    }

    .hmv20-product small {
        color: var(--hmv20-green);
        font-size: 11px;
        font-weight: 850;
    }

    .hmv20-store-logo {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        max-width: 120px;
        min-width: 0;
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .hmv20-store-logo img {
        display: block;
        width: auto;
        max-width: 92px;
        height: auto;
        max-height: 22px;
        object-fit: contain;
    }

    .hmv20-store-logo--featured {
        margin: 2px 0 4px;
        justify-self: start;
    }

    .hmv20-store-logo--featured img {
        max-width: 98px;
        max-height: 24px;
    }

    .hmv20-store-logo--product {
        justify-self: center;
        margin-top: 7px;
    }

    .hmv20-economy__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .hmv20-economy-card {
        display: grid;
        grid-template-columns: 58px 1fr;
        grid-template-areas:
            "img title"
            "img price"
            "img save";
        gap: 2px 10px;
        min-width: 0;
        padding: 10px;
        border-radius: 20px;
        background: #ffffff;
        border: 1px solid var(--hmv20-line);
        color: var(--hmv20-text);
        text-decoration: none;
        box-shadow: 0 10px 24px rgba(13, 27, 61, .05);
    }

    .hmv20-economy-card span {
        grid-area: img;
        display: grid;
        place-items: center;
        width: 58px;
        height: 72px;
        border-radius: 14px;
        background: #f5f8fc;
        overflow: hidden;
    }

    .hmv20-economy-card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hmv20-economy-card strong {
        grid-area: title;
        display: -webkit-box;
        margin: 0;
        color: var(--hmv20-text);
        font-size: 12px;
        line-height: 1.2;
        font-weight: 850;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hmv20-economy-card em {
        grid-area: price;
        color: var(--hmv20-navy);
        font-style: normal;
        font-size: 16px;
        font-weight: 950;
    }

    .hmv20-economy-card small {
        grid-area: save;
        color: var(--hmv20-green);
        font-size: 11px;
        font-weight: 850;
    }

    .hmv20-bottom-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 10px;
        z-index: 1000;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 2px;
        min-height: 66px;
        padding: 8px 6px;
        border-radius: 26px;
        background: rgba(255, 255, 255, .96);
        border: 1px solid rgba(216, 225, 236, .9);
        box-shadow: 0 20px 48px rgba(13, 27, 61, .18);
        backdrop-filter: blur(14px);
    }

    .hmv20-bottom-nav a {
        display: grid;
        place-items: center;
        gap: 2px;
        color: var(--hmv20-muted);
        text-decoration: none;
        font-size: 10px;
        font-weight: 850;
    }

    .hmv20-bottom-nav span {
        display: grid;
        place-items: center;
        width: 26px;
        height: 26px;
        font-size: 19px;
        line-height: 1;
    }

    .hmv20-bottom-nav strong {
        font-size: 10px;
        font-weight: 850;
    }

    .hmv20-bottom-nav a.is-active {
        color: var(--hmv20-navy);
    }

    .hmv20-bottom-nav a.is-active span {
        color: #ffffff;
        border-radius: 999px;
        background: var(--hmv20-navy);
    }

    /**
     * =========================================================
     * V20.2 — Correções cirúrgicas do template mobile
     * ---------------------------------------------------------
     * - Menu hamburger passa a abrir painel real.
     * - Hero fica proporcional em telas estreitas tipo iPhone SE.
     * - Categorias mantêm grid 4x2 sem vazamento.
     * =========================================================
     */

    .bv-header__bottom {
        display: none !important;
        margin-top: 10px;
    }

    .bv-header__bottom.is-open {
        display: block !important;
        animation: hmv20MenuDrop .18s ease-out both;
    }

    .bv-header__bottom.is-open .bv-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-radius: 20px;
        background: #ffffff;
        border: 1px solid rgba(216, 225, 236, .95);
        box-shadow: 0 18px 42px rgba(13, 27, 61, .14);
    }

    .bv-header__bottom.is-open .bv-nav a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 10px;
        border-radius: 15px;
        background: #f5f8fc;
        color: var(--hmv20-navy);
        font-size: 12px;
        font-weight: 900;
        line-height: 1.1;
        text-decoration: none;
        text-align: center;
        border: 1px solid rgba(216, 225, 236, .7);
    }

    .bv-header__bottom.is-open .bv-nav a.is-active {
        background: var(--hmv20-navy);
        color: #ffffff;
        border-color: var(--hmv20-navy);
    }

    .bv-header__bottom.is-open .bv-nav__account,
    .bv-header__bottom.is-open .bv-nav__logout {
        background: #fff7db;
        color: var(--hmv20-navy);
    }

    @keyframes hmv20MenuDrop {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hmv20-hero {
        min-height: clamp(132px, 39vw, 150px);
        padding: clamp(16px, 4.8vw, 22px) clamp(14px, 5vw, 20px);
    }

    .hmv20-hero h1 {
        max-width: min(64%, 245px);
        font-size: clamp(21px, 6.9vw, 26px);
    }

    .hmv20-hero p {
        max-width: min(64%, 230px);
        font-size: clamp(12px, 3.55vw, 14px);
    }

    .hmv20-hero__cta {
        min-height: clamp(38px, 10vw, 42px);
        margin-top: clamp(10px, 3vw, 14px);
        padding: 0 clamp(14px, 4.5vw, 18px);
    }

    .hmv20-hero__visual {
        right: clamp(8px, 4vw, 18px);
        top: clamp(18px, 7vw, 28px);
        width: clamp(92px, 32vw, 138px);
        height: clamp(88px, 30vw, 118px);
    }

    .hmv20-hero__tag {
        width: clamp(40px, 13vw, 56px);
        height: clamp(40px, 13vw, 56px);
        border-radius: clamp(13px, 4.8vw, 18px);
        font-size: clamp(20px, 7vw, 28px);
    }

    .hmv20-hero__cart {
        font-size: clamp(44px, 17vw, 62px);
    }

    .hmv20-hero__check {
        width: clamp(42px, 15vw, 58px);
        height: clamp(42px, 15vw, 58px);
        font-size: clamp(23px, 8.2vw, 32px);
    }

    @media (max-width: 374px) {
        .bv-home .container {
            padding-inline: 10px;
        }

        .hmv20-hero {
            min-height: 132px;
            padding: 16px 14px;
            border-radius: 22px;
        }

        .hmv20-eyebrow {
            min-height: 21px;
            padding: 0 8px;
            font-size: 9px;
            letter-spacing: .035em;
        }

        .hmv20-hero h1 {
            max-width: 172px;
            margin: 8px 0 5px;
            font-size: 21px;
            line-height: 1.03;
        }

        .hmv20-hero p {
            max-width: 168px;
            font-size: 12px;
            line-height: 1.28;
        }

        .hmv20-hero__cta {
            min-height: 38px;
            margin-top: 10px;
            padding: 0 14px;
            border-radius: 14px;
            font-size: 13px;
        }

        .hmv20-hero__visual {
            right: 8px;
            top: 22px;
            width: 88px;
            height: 84px;
        }

        .hmv20-hero__tag {
            left: -3px;
            top: 15px;
            width: 36px;
            height: 36px;
            border-radius: 13px;
            font-size: 18px;
        }

        .hmv20-hero__cart {
            right: -2px;
            bottom: 0;
            font-size: 42px;
        }

        .hmv20-hero__check {
            right: 0;
            width: 38px;
            height: 38px;
            font-size: 22px;
        }

        .hmv20-categories {
            gap: 8px 6px;
            padding-top: 10px;
        }

        .hmv20-category {
            font-size: 9px;
            gap: 6px;
        }

        .hmv20-category__icon {
            width: 48px;
            height: 48px;
            border-radius: 15px;
        }

        .hmv20-category__icon img {
            width: 34px;
            height: 34px;
        }

        .bv-header__bottom.is-open .bv-nav {
            gap: 7px;
            padding: 8px;
            border-radius: 18px;
        }

        .bv-header__bottom.is-open .bv-nav a {
            min-height: 39px;
            font-size: 11px;
        }
    }

    @media (max-width: 339px) {
        .hmv20-hero h1 {
            max-width: 162px;
            font-size: 20px;
        }

        .hmv20-hero p {
            max-width: 158px;
            font-size: 11.5px;
        }

        .hmv20-hero__tag {
            display: none;
        }

        .hmv20-hero__visual {
            width: 76px;
        }

        .hmv20-hero__cart {
            font-size: 38px;
        }

        .hmv20-hero__check {
            width: 34px;
            height: 34px;
            font-size: 20px;
        }
    }


}



    /**
     * =============================================================
     * V20.3.3 — Blog mobile + respiro final BomAds/Footer
     * -------------------------------------------------------------
     * - Exibe a vitrine do Blog dentro da Home V20 mobile;
     * - Reduz o espaço entre BomAds footer e footer institucional;
     * - Trata mobile separadamente do desktop.
     * =============================================================
     */
    .home-mobile-v20 {
        padding-bottom: 0;
    }

    .hmv20-blog {
        margin-top: 18px;
    }

    .hmv20-blog .hmv20-section__head {
        align-items: flex-start;
        margin-bottom: 8px;
    }

    .hmv20-blog .hmv20-section__head > div {
        min-width: 0;
    }

    .hmv20-blog__kicker {
        display: inline-flex;
        align-items: center;
        min-height: 24px;
        margin-bottom: 7px;
        padding: 0 10px;
        border-radius: 999px;
        color: var(--hmv20-navy);
        background: linear-gradient(135deg, var(--hmv20-gold) 0%, #ffd24a 100%);
        box-shadow: 0 10px 22px rgba(245, 183, 0, .18);
        font-size: 10px;
        font-weight: 950;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .hmv20-blog__subtitle {
        margin: -2px 2px 10px;
        color: var(--hmv20-muted);
        font-size: 13px;
        line-height: 1.45;
        font-weight: 700;
    }

    .hmv20-blog-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hmv20-blog-card {
        min-width: 0;
        overflow: hidden;
        border-radius: 20px;
        background: #ffffff;
        border: 1px solid var(--hmv20-line);
        box-shadow: 0 12px 28px rgba(13, 27, 61, .06);
    }

    .hmv20-blog-card__media {
        position: relative;
        display: block;
        aspect-ratio: 16 / 10;
        overflow: hidden;
        background:
            radial-gradient(circle at 80% 18%, rgba(245, 183, 0, .22), transparent 30%),
            linear-gradient(135deg, #0d1b3d 0%, #12316f 62%, #0f766e 100%);
    }

    .hmv20-blog-card__media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hmv20-blog-card__media span {
        position: absolute;
        left: 8px;
        bottom: 8px;
        max-width: calc(100% - 16px);
        min-height: 22px;
        padding: 0 8px;
        border-radius: 999px;
        background: rgba(13, 27, 61, .88);
        color: #ffffff;
        font-size: 9px;
        font-weight: 950;
        line-height: 22px;
        text-transform: uppercase;
        letter-spacing: .04em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hmv20-blog-card__body {
        display: grid;
        gap: 8px;
        padding: 10px;
    }

    .hmv20-blog-card__body h3 {
        min-height: 40px;
        margin: 0;
        font-size: 13px;
        line-height: 1.22;
        font-weight: 900;
        letter-spacing: -.02em;
    }

    .hmv20-blog-card__body h3 a {
        display: -webkit-box;
        color: var(--hmv20-text);
        text-decoration: none;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hmv20-blog-card__body small {
        color: var(--hmv20-muted);
        font-size: 10px;
        font-weight: 800;
    }

    .hmv20-ad--footer {
        margin: 14px 0 0;
    }

    .hmv20-ad--footer .bomads-slot__frame {
        height: clamp(82px, 25vw, 138px);
    }

    .bv-page.bv-home {
        padding-bottom: 0;
    }

    .bv-page.bv-home + .bv-footer {
        margin-top: 18px;
        padding-top: 30px;
    }

    @media (max-width: 360px) {
        .hmv20-blog-grid {
            gap: 8px;
        }

        .hmv20-blog-card__body {
            padding: 9px;
        }

        .hmv20-blog-card__body h3 {
            font-size: 12px;
        }
    }



/**
 * =============================================================
 * V20.3.4 — Desktop footer CTA restore
 * -------------------------------------------------------------
 * O bloco V20.3.2 foi restringido novamente ao mobile.
 * Desktop volta a obedecer exclusivamente o CSS original do footer.
 * =============================================================
 */
@media (max-width: 767px) {
    .bv-footer .bv-footer-cta,
    .bv-footer .footer-cta,
    .bv-footer .footer-card,
    .bv-footer .footer-brand-card,
    .bv-footer .footer-highlight-card,
    .bv-footer [class*="footer"][class*="cta"] {
        text-align: center;
    }

    .bv-footer .bv-footer-cta .eyebrow,
    .bv-footer .bv-footer-cta__eyebrow,
    .bv-footer .footer-cta .eyebrow,
    .bv-footer .footer-cta__eyebrow,
    .bv-footer .footer-brand-card__eyebrow,
    .bv-footer [class*="footer"][class*="eyebrow"] {
        display: block;
        width: 100%;
        margin: 0 auto 12px;
        color: var(--hmv20-gold);
        font-size: clamp(22px, 6.4vw, 28px);
        line-height: 1;
        font-weight: 950;
        letter-spacing: .055em;
        text-align: center;
        text-transform: uppercase;
    }

    .bv-footer .bv-footer-cta h2,
    .bv-footer .bv-footer-cta h3,
    .bv-footer .footer-cta h2,
    .bv-footer .footer-cta h3,
    .bv-footer .footer-brand-card h2,
    .bv-footer .footer-brand-card h3,
    .bv-footer [class*="footer"][class*="cta"] h2,
    .bv-footer [class*="footer"][class*="cta"] h3 {
        max-width: 290px;
        margin-inline: auto;
        color: #ffffff;
        font-size: clamp(26px, 7.2vw, 31px);
        line-height: .98;
        font-weight: 950;
        letter-spacing: -.035em;
        text-align: center;
    }

    .bv-footer .bv-footer-cta p,
    .bv-footer .footer-cta p,
    .bv-footer .footer-brand-card p,
    .bv-footer [class*="footer"][class*="cta"] p {
        max-width: 320px;
        margin-inline: auto;
        color: rgba(255, 255, 255, .88);
        font-size: clamp(16px, 4.55vw, 18px);
        line-height: 1.48;
        text-align: left;
    }

    .bv-footer .bv-footer-cta .bv-btn,
    .bv-footer .footer-cta .bv-btn,
    .bv-footer .footer-brand-card .bv-btn,
    .bv-footer [class*="footer"][class*="cta"] .bv-btn,
    .bv-footer .bv-footer-cta a[class*="btn"],
    .bv-footer .footer-cta a[class*="btn"],
    .bv-footer .footer-brand-card a[class*="btn"],
    .bv-footer [class*="footer"][class*="cta"] a[class*="btn"] {
        width: min(100%, 308px);
        min-height: 50px;
        margin: 18px auto 0;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 950;
        box-shadow: 0 18px 34px rgba(245, 183, 0, .28);
    }

    @media (max-width: 380px) {
        .bv-footer .bv-footer-cta .eyebrow,
        .bv-footer .bv-footer-cta__eyebrow,
        .bv-footer .footer-cta .eyebrow,
        .bv-footer .footer-cta__eyebrow,
        .bv-footer .footer-brand-card__eyebrow,
        .bv-footer [class*="footer"][class*="eyebrow"] {
            font-size: 21px;
            letter-spacing: .045em;
        }

        .bv-footer .bv-footer-cta h2,
        .bv-footer .bv-footer-cta h3,
        .bv-footer .footer-cta h2,
        .bv-footer .footer-cta h3,
        .bv-footer .footer-brand-card h2,
        .bv-footer .footer-brand-card h3,
        .bv-footer [class*="footer"][class*="cta"] h2,
        .bv-footer [class*="footer"][class*="cta"] h3 {
            font-size: 25px;
        }
    }
}


@media (min-width: 768px) {
    .home-mobile-v20 {
        display: none !important;
    }
}



/**
 * =============================================================
 * V20.3.9 — Blog Mobile Media Fit
 * -------------------------------------------------------------
 * Otimiza a vitrine "Do Blog Bom Vendedor" na Home mobile:
 * - cards de blog em 1 coluna para banners editoriais 1200x675/1200x630;
 * - imagem 16:9 preservada com object-fit: contain;
 * - primeiro card com leitura editorial mais forte;
 * - evita que banners com texto fiquem minúsculos em 2 colunas.
 * =============================================================
 */
@media (max-width: 767px) {
    .home-mobile-v20 .hmv20-blog {
        margin-top: 20px;
    }

    .home-mobile-v20 .hmv20-blog .hmv20-section__head {
        display: flex;
        align-items: flex-end;
        gap: 12px;
        margin-bottom: 10px;
    }

    .home-mobile-v20 .hmv20-blog .hmv20-section__head h2 {
        max-width: 230px;
        font-size: clamp(22px, 7vw, 28px);
        line-height: .98;
        letter-spacing: -.045em;
    }

    .home-mobile-v20 .hmv20-blog__subtitle {
        margin: 0 2px 12px;
        max-width: 330px;
        font-size: 13px;
        line-height: 1.42;
    }

    .home-mobile-v20 .hmv20-blog-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .home-mobile-v20 .hmv20-blog-card {
        display: grid;
        grid-template-columns: 1fr;
        overflow: hidden;
        border-radius: 24px;
        box-shadow: 0 16px 36px rgba(13, 27, 61, .08);
    }

    .home-mobile-v20 .hmv20-blog-card__media {
        aspect-ratio: 16 / 9 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
        border-bottom: 1px solid var(--hmv20-line);
    }

    .home-mobile-v20 .hmv20-blog-card__media img {
        width: 100%;
        height: 100%;
        object-fit: contain !important;
        object-position: center center !important;
        background: #f8fafc;
        transform: none !important;
    }

    .home-mobile-v20 .hmv20-blog-card__media span {
        left: 10px;
        bottom: 10px;
        min-height: 24px;
        padding: 0 10px;
        line-height: 24px;
        font-size: 9.5px;
        box-shadow: 0 10px 22px rgba(13, 27, 61, .22);
    }

    .home-mobile-v20 .hmv20-blog-card__body {
        padding: 12px 13px 13px;
    }

    .home-mobile-v20 .hmv20-blog-card__body h3 {
        min-height: auto;
        font-size: 15px;
        line-height: 1.18;
        letter-spacing: -.03em;
    }

    .home-mobile-v20 .hmv20-blog-card__body h3 a {
        -webkit-line-clamp: 2;
    }

    .home-mobile-v20 .hmv20-blog-card__body small {
        font-size: 11px;
    }

    .home-mobile-v20 .hmv20-blog-card:first-child .hmv20-blog-card__body h3 {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .home-mobile-v20 .hmv20-blog-card {
        border-radius: 22px;
    }

    .home-mobile-v20 .hmv20-blog-card__body {
        padding: 11px 12px 12px;
    }

    .home-mobile-v20 .hmv20-blog-card__body h3,
    .home-mobile-v20 .hmv20-blog-card:first-child .hmv20-blog-card__body h3 {
        font-size: 14px;
    }
}

/* =========================================================
   V21.1.2 — HOME MOBILE BOMADS TRANSPARENT STANDARD
========================================================= */
.hmv20-ad:has(.bomads-slot) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.hmv20-ad:has(.bomads-slot) .bomads-slot {
    margin: 0 !important;
}

.hmv20-ad:has(.bomads-slot) .bomads-slot__frame {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.hmv20-ad:has(.bomads-slot) .bomads-slot__media {
    background: transparent !important;
}

@media (max-width: 767px) {
    .hmv20-ad:has(.bomads-slot) .bomads-slot__frame {
        background: transparent !important;
    }

    .hmv20-ad:has(.bomads-slot) .bomads-slot__media {
        background: transparent !important;
    }
}
