/* ===== WRAP ===== */
.bth-v111-wrap{
    max-width:100%;
    width:100%;
    padding:0 18px;
    background:#f6f7f9
}

/* ===== TOPBAR ===== */
.bth-topbar{
    overflow:hidden;
    background:linear-gradient(90deg,var(--bth-dark),var(--bth-primary));
    color:#fff;
    font-weight:800;
    border-radius:0;
    margin:14px auto;
    padding:12px;
    white-space:nowrap
}

.bth-topbar div{
    display:inline-block;
    animation:bthMarquee 22s linear infinite
}

@keyframes bthMarquee{
    from{transform:translateX(100%)}
    to{transform:translateX(-100%)}
}

/* ===== HERO ===== */
.bth-hero-grid{
    display:grid;
    grid-template-columns:280px 1fr 280px;
    gap:24px;
    max-width:1440px;
    margin:18px auto
}

.bth-hero,
.bth-side-banner{
    border-radius:18px;
    overflow:hidden;
    min-height:360px;
    background:#fff;
    position:relative
}

.bth-hero{min-height:420px}

.bth-banner-slider,
.bth-banner-slide,
.bth-banner-slide a{
    width:100%;
    height:100%;
    display:block
}

.bth-banner-slide{display:none}
.bth-banner-slide.active{display:block}

.bth-banner-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}

.bth-hero-gradient{
    width:100%;
    height:100%;
    background:linear-gradient(135deg,var(--bth-primary),#c90026)
}

.bth-hero-content{
    position:absolute;
    z-index:2;
    left:50px;
    top:50%;
    transform:translateY(-50%);
    max-width:560px;
    color:#fff
}

.bth-hero-content h1{
    font-size:48px;
    line-height:1.05;
    margin:16px 0;
    color:#fff
}

.bth-hero-content p{font-size:22px}

.bth-hero-badge{
    display:inline-block;
    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.35);
    padding:14px 28px;
    border-radius:999px;
    font-weight:900
}

/* ===== BOTÕES ===== */
.bth-btn,
.bth-add{
    background:var(--bth-primary);
    color:#fff!important;
    border-radius:999px;
    padding:12px 24px;
    text-decoration:none;
    font-weight:900;
    display:inline-block
}

/* ===== MINI ICONES ===== */
.bth-mini-icons{
    max-width:1440px;
    margin:16px auto;
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:12px
}

.bth-mini-icons a{
    background:#fff;
    border-radius:12px;
    padding:14px;
    text-align:center;
    text-decoration:none;
    color:#111;
    box-shadow:0 4px 18px rgba(0,0,0,.06)
}

.bth-mini-icons span{display:block;font-size:24px}
.bth-mini-icons b{font-size:13px}

/* ===== SECÇÕES ===== */
.bth-section{
    max-width:1440px;
    margin:20px auto;
    background:#fff;
    border-radius:18px;
    padding:18px;
    box-shadow:0 4px 18px rgba(0,0,0,.05)
}

.bth-section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px
}

.bth-section-head h2{font-size:20px;margin:0}

.bth-section-head a{
    color:var(--bth-primary);
    font-weight:800;
    text-decoration:none
}

/* ===== GRID PRODUTOS ===== */
.bth-products{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px
}

/* ===== CARD ===== */
.bth-card{
    position:relative;
    background:#fff;
    border:1px solid #eef1f4;
    border-radius:14px;
    padding:12px;
    box-shadow:0 3px 10px rgba(0,0,0,.04);
    transition:.2s
}

.bth-card:hover{
    transform:translateY(-3px)
}

/* ===== BADGES ===== */
.bth-badge{
    position:absolute;
    right:10px;
    top:10px;
    background:var(--bth-dark);
    color:#fff;
    border-radius:999px;
    padding:5px 9px;
    font-size:11px;
    font-weight:900;
    z-index:2
}

.bth-badge.sale{background:#e4002b}

/* ===== IMAGEM PRODUTO (FIX FINAL) ===== */
.bth-img{
    height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f8f8f8;
    border-radius:12px;
    overflow:hidden
}

.bth-img img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    object-position:center;
    display:block;
    padding:8px
}

/* ===== TEXTO ===== */
.bth-card h3{
    min-height:42px;
    font-size:13px;
    line-height:1.25
}

.bth-card h3 a{
    text-decoration:none;
    color:#111
}

.bth-rating{
    color:#ffb400;
    font-size:12px
}

.bth-price{
    font-weight:900;
    color:#e43d00;
    margin:7px 0
}

.bth-proof{
    font-size:11px;
    color:#dd3333;
    background:#fff2f2;
    border-radius:8px;
    padding:5px;
    margin:8px 0
}

/* ===== BOTÃO ===== */
.bth-add{
    display:block;
    text-align:center;
    padding:9px
}

/* ===== BANNERS ===== */
.bth-banner_after_hero,
.bth-banner_after_icons,
.bth-banner_before_footer{
    max-width:1440px;
    height:220px;
    margin:18px auto;
    border-radius:14px;
    overflow:hidden
}

/* ===== ALERT ===== */
.bth-alert{
    padding:16px;
    border-radius:10px;
    background:#fff3cd
}

/* ===== RESPONSIVO ===== */
@media(max-width:900px){

    .bth-hero-grid{
        grid-template-columns:1fr
    }

    .bth-side-banner{
        display:none
    }

    .bth-products{
        grid-template-columns:repeat(2,1fr)
    }

    .bth-mini-icons{
        grid-template-columns:repeat(3,1fr)
    }

    .bth-hero-content{
        left:24px;
        right:24px
    }

    .bth-hero-content h1{
        font-size:32px
    }

    .bth-img{
        height:150px
    }
}

.bth-img{
    height:180px;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:#f8f8f8;
    border-radius:12px;
    overflow:hidden;
}

.bth-img img{
    max-width:100% !important;
    max-height:100% !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    object-position:center center !important;
    display:block !important;
    padding:8px;
}