/* Black November 2026 - carregado só até 01/12/2026 (inc/black-november.php).
   --tf-bf-accent vem inline por site (GeoSun #35D07F, Hesai #3B82F6). */

/* ---------- Faixa do topo (visual do snippet enviado pela TrackFY) ---------- */
.tf-bf-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    background: #0B0C0F;
    border-bottom: 2px solid var(--tf-bf-accent);
    padding: 10px 44px 10px 16px;
    position: relative;
    z-index: 1001;
    text-align: center;
    font-family: inherit;
    line-height: 1.3;
}
.tf-bf-bar__pill {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--tf-bf-accent);
    border: 1.5px solid var(--tf-bf-accent);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.tf-bf-bar__text { color: #fff; font-size: 15px; font-weight: 600; }
.tf-bf-bar__text strong { color: var(--tf-bf-accent); font-weight: 700; }
.tf-bf-bar__btn,
.tf-bf-bar__btn:visited {
    background: var(--tf-bf-accent);
    color: #0B0C0F;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
}
.tf-bf-bar__btn:hover { filter: brightness(1.08); color: #0B0C0F; }
.tf-bf-bar__close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6E6E78;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
@media (max-width: 640px) {
    .tf-bf-bar { gap: 6px 10px; padding: 8px 36px 8px 10px; }
    .tf-bf-bar__pill { font-size: 10px; letter-spacing: 1px; padding: 3px 8px; }
    .tf-bf-bar__text { font-size: 13px; }
    .tf-bf-bar__btn { font-size: 12.5px; padding: 6px 12px; white-space: normal; }
}

/* ---------- Slide do hero ---------- */
.tf-bf-slide__title span { color: var(--tf-bf-accent); white-space: nowrap; }
.tf-bf-slide__badge {
    background: transparent !important;
    color: var(--tf-bf-accent) !important;
    border: 1.5px solid var(--tf-bf-accent) !important;
    letter-spacing: .12em;
}

/* Arte tipográfica (no lugar da foto do produto) */
.tf-bf-art {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    border-radius: 20px;
    background:
        radial-gradient(ellipse 70% 60% at 50% 45%, color-mix(in srgb, var(--tf-bf-accent) 22%, transparent), transparent 70%),
        #0B0C0F;
    border: 1.5px solid color-mix(in srgb, var(--tf-bf-accent) 55%, transparent);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 0 60px color-mix(in srgb, var(--tf-bf-accent) 10%, transparent);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.tf-bf-art__pill {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .25em;
    color: var(--tf-bf-accent);
    border: 1.5px solid var(--tf-bf-accent);
    border-radius: 999px;
    padding: .4rem 1rem;
}
.tf-bf-art__pct {
    font-size: clamp(4.5rem, 11vw, 9rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.04em;
    color: var(--tf-bf-accent);
    text-shadow: 0 0 40px color-mix(in srgb, var(--tf-bf-accent) 45%, transparent);
    margin-top: .5rem;
}
.tf-bf-art__off {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: .3em;
    margin-right: -.3em;
}
.tf-bf-art__foot {
    margin-top: .75rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, .6);
    letter-spacing: .04em;
}

/* GeoSun: o frame da foto tem fundo próprio; a arte ocupa tudo */
.tf-bf-slide .home-hero__media-frame { background: none; box-shadow: none; padding: 0; }

/* Hesai: miniatura do slide */
.tf-bf-thumb__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    border-radius: 8px;
    background: #0B0C0F;
    color: var(--tf-bf-accent);
    border: 1.5px solid var(--tf-bf-accent);
    font-weight: 800;
    font-size: .8rem;
}

/* Mobile: só o texto da oferta + botão (a arte empurrava tudo para baixo da dobra) */
@media (max-width: 900px) {
    .tf-bf-slide .home-hero__media-frame,
    .tf-bf-slide .home-hero__media { display: none; }
    .tf-bf-slide__title { white-space: normal; overflow-wrap: anywhere; }
    .tf-bf-slide > div,
    .tf-bf-slide .home-hero__grid > div { min-width: 0; }
    .tf-bf-slide .btn { white-space: normal; text-align: center; max-width: 100%; }
}
@media (max-width: 640px) {
    .tf-bf-slide__title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
}
