/*** tema-19-novo — referência visual Buy Info ***/

/* Topo: roxo azulado | Faixa menu: mais escura (referência Home.png). */
.theme-19-novo-buyinfo {
    /* Referência Home: navy topo ~#2A347D, faixa menu mais clara ~#3D4994, lavanda botão categorias ~#A0A8D8 */
    --buyinfo-navy: #2a347d;
    --buyinfo-navy-bar: #3d4994;
    --buyinfo-navy-deep: #1a1f52;
    --buyinfo-accent: #7b61ff;
    --buyinfo-accent-hover: #6848e8;
    --buyinfo-categories-bg: #a0a8d8;
    --buyinfo-categories-fg: #1a274d;
    --buyinfo-search-radius: 999px;
    --buyinfo-trust-bg: #e9e9e9;
    --buyinfo-trust-icon: #3b82f6;
    --buyinfo-surface: #f4f4f4;
    --buyinfo-white: #ffffff;
    --buyinfo-muted: rgba(255, 255, 255, 0.92);
    --buyinfo-muted-dark: rgba(24, 3, 46, 0.78);
}

/* ---------- Topo: logo + busca + conta/carrinho ---------- */
.theme-19-novo-buyinfo .header .header-content {
    background: var(--buyinfo-navy);
    border-bottom: none;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
}

/*
 * theme-all.css define .navbar { background-color: #fff } — isso cobre o fundo navy
 * de .header-content e deixa só a segunda faixa escura; por isso o topo “virava” branco.
 */
.theme-19-novo-buyinfo .header .header-content .navbar {
    background: transparent !important;
    background-color: transparent !important;
    height: auto !important;
    min-height: 0 !important;
    align-items: center;
}

.theme-19-novo-buyinfo .header .navbar .navbar-center {
    min-width: 0;
}

/*
 * Garante miolo desktop (busca) visível a partir de 992px (theme-all oculta só no mobile).
 * Ícone .search_link só faz sentido quando a barra central está oculta — referência desktop: só o campo.
 */
@media (min-width: 992px) {
    .theme-19-novo-buyinfo .header .navbar-center {
        display: flex !important;
    }

    .theme-19-novo-buyinfo .header .header-link.header-link_search.search_link.show-lg {
        display: none !important;
    }
}

/*
 * theme-all: .search-desktop { width: 815px } — sem override a barra ocupa quase o miolo inteiro.
 */
.theme-19-novo-buyinfo .header .search-desktop {
    width: auto !important;
    max-width: min(480px, 42vw) !important;
    flex: 0 1 auto !important;
}

/* Desktop: busca compacta ao centro do miolo (referência Home.png). */
@media (min-width: 992px) {
    .theme-19-novo-buyinfo .header .navbar .navbar-center {
        flex: 1 1 0%;
        display: flex;
        justify-content: center;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

@media (min-width: 992px) {
    .theme-19-novo-buyinfo .header .header-content .navbar {
        min-height: 60px;
    }
}

.theme-19-novo-buyinfo .header .header-content .logo {
    color: var(--buyinfo-white);
    gap: 0.5rem;
}

/* Com imagem: h1 só para SEO (como no tema base). Sem <picture>: mostrar nome da loja. */
.theme-19-novo-buyinfo .header .logo:has(picture) h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    font-size: 0 !important;
    opacity: 0 !important;
}

.theme-19-novo-buyinfo .header .logo:not(:has(picture)) h1 {
    color: var(--buyinfo-white);
    font-weight: 700;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    margin: 0;
    opacity: 1 !important;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* theme-all: .input-group { border-radius: 1.23em } vira “pill” — precisa !important */
.theme-19-novo-buyinfo .header .search-desktop .input-group {
    border-radius: 999px !important;
    overflow: hidden;
    background: var(--buyinfo-white);
    border: 1px solid rgba(30, 26, 85, 0.14);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex !important;
    align-items: stretch !important;
    min-height: 2.35rem;
}

.theme-19-novo-buyinfo .header .search-desktop .input-group .form-input:first-child:not(:last-child) {
    border-radius: 999px 0 0 999px !important;
}

.theme-19-novo-buyinfo .header .search-desktop .form-input {
    background: var(--buyinfo-white);
    border: none;
    color: #1f2937;
    border-radius: 999px 0 0 999px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 0.8125rem !important;
    line-height: 1.15 !important;
    padding: 0.5rem 0.5rem 0.5rem 0.7rem !important;
    min-height: 0 !important;
    height: auto !important;
}

.theme-19-novo-buyinfo .header .search-desktop .form-input::placeholder {
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #b4b8c2 !important;
}

.theme-19-novo-buyinfo .header .search-desktop .btn {
    background: var(--buyinfo-white);
    border: none;
    color: #6b7280;
    min-width: 2rem;
    padding: 0.25rem 0.4rem !important;
    border-radius: 0 999px 999px 0 !important;
    top: auto !important;
    bottom: auto !important;
    position: relative !important;
    height: 100%;
    min-height: 2.35rem;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-19-novo-buyinfo .header .search-desktop .btn svg {
    width: 11px !important;
    height: 11px !important;
    max-width: 11px;
    max-height: 11px;
    opacity: 0.88;
}

.theme-19-novo-buyinfo .header .search-desktop .btn:hover {
    background: #f3f4f6;
    color: #111827;
}

.theme-19-novo-buyinfo .header .search-desktop .btn svg path {
    fill: currentColor;
}

.theme-19-novo-buyinfo .header .navbar .header-link {
    margin-left: 0.35rem !important;
    margin-right: 0.35rem !important;
}

.theme-19-novo-buyinfo .header .header-link,
.theme-19-novo-buyinfo .header .account_link {
    color: var(--buyinfo-muted);
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 500;
    font-size: 0.8125rem;
}

.theme-19-novo-buyinfo .header .navbar .navbar-section:last-child {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.theme-19-novo-buyinfo .header .header-box_account {
    max-width: none;
    margin-right: 1.75rem;
}

@media (min-width: 992px) {
    .theme-19-novo-buyinfo .header .header-link_cart {
        margin-left: 0.85rem !important;
    }
}

.theme-19-novo-buyinfo .header .header-link_account {
    width: auto !important;
    max-width: 200px;
    gap: 0.4rem;
}

.theme-19-novo-buyinfo .header .header-link_icon {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-19-novo-buyinfo .header .header-link_icon svg {
    width: 22px;
    height: 22px;
    opacity: 0.95;
}

.theme-19-novo-buyinfo .header .navbar .header-link svg,
.theme-19-novo-buyinfo .header .navbar .header-link svg path,
.theme-19-novo-buyinfo .header .header-link_icon svg,
.theme-19-novo-buyinfo .header .header-link_icon svg path {
    fill: currentColor;
}

.theme-19-novo-buyinfo .header .account_link__greeting {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.05rem;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
}

.theme-19-novo-buyinfo .header .account_greet-line1,
.theme-19-novo-buyinfo .header .account_greet-line2 {
    display: block;
    font-weight: 500;
}

.theme-19-novo-buyinfo .header .account_greet-line2 {
    font-weight: 400;
    opacity: 0.92;
}

.theme-19-novo-buyinfo .header .header-link:hover,
.theme-19-novo-buyinfo .header .account_link:hover {
    color: var(--buyinfo-white);
}

.theme-19-novo-buyinfo .header .header-link_cart {
    position: relative;
}

.theme-19-novo-buyinfo .header .header-link_cart svg {
    width: 22px;
    height: 22px;
}

.theme-19-novo-buyinfo .header .cart_quantity {
    background: var(--buyinfo-accent) !important;
    color: var(--buyinfo-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    font-weight: 600 !important;
    font-size: 7px !important;
    min-width: 10px !important;
    height: 10px !important;
    padding: 0 2px !important;
    line-height: 10px !important;
    border-radius: 999px !important;
    top: 0 !important;
    right: 2px !important;
    left: auto !important;
    bottom: auto !important;
    margin-top: 0 !important;
    transform: scale(0.92);
    transform-origin: top right;
}

.theme-19-novo-buyinfo .header .search_link.show-lg .icon-search .icon-bar {
    background: var(--buyinfo-white);
}

.theme-19-novo-buyinfo .header .menu-mobile_link .icon-bar {
    background: var(--buyinfo-white);
}

/* Segunda faixa: mais escura que o topo + mais baixa; itens com pipe */
.theme-19-novo-buyinfo .header .nav-content {
    background: var(--buyinfo-navy-bar);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

/*
 * theme-all: .nav-main { flex-wrap: wrap-reverse; height: 50px }.
 * Tirar height:fixed sem forçar nowrap fazia centenas de itens quebrarem em várias linhas.
 */
.theme-19-novo-buyinfo .header .nav-main {
    align-items: center;
}

@media (min-width: 992px) {
    .theme-19-novo-buyinfo .header .nav-main {
        flex-wrap: nowrap !important;
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        justify-content: flex-start !important;
    }

    /* Itens não encolhem: uma linha só; excesso pode gerar scroll horizontal da página (dropdowns não podem ficar com overflow:hidden no pai). */
    .theme-19-novo-buyinfo .header .nav-main > .nav-main_item {
        flex-shrink: 0;
    }
}

/*
 * Referência: um único pipe entre o 1º e o 2º item do menu (após “Nossas categorias”):
 * 1=__all, 2=1º link, 3=2º link → borda à esquerda do 3º filho.
 */
.theme-19-novo-buyinfo .header .nav-main > .nav-main_item {
    border-left: none !important;
}

@media (min-width: 992px) {
    .theme-19-novo-buyinfo .header .nav-main > .nav-main_item:nth-child(3) {
        border-left: 1px solid rgba(255, 255, 255, 0.45) !important;
        padding-left: 0.75rem !important;
        margin-left: 0.15rem !important;
    }
}

.theme-19-novo-buyinfo .header .nav-main_link,
.theme-19-novo-buyinfo .header .nav-main_children,
.theme-19-novo-buyinfo .header .nav-content .btn {
    color: var(--buyinfo-white);
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.8125rem;
    font-weight: 600;
}

@media (min-width: 992px) {
    .theme-19-novo-buyinfo .header .nav-main > .nav-main_item:not(.nav-main_item__all) .nav-main_link {
        padding-top: 0.45rem !important;
        padding-bottom: 0.45rem !important;
    }
}

.theme-19-novo-buyinfo .header .nav-main_link:hover,
.theme-19-novo-buyinfo .header .nav-main_children:hover {
    color: var(--buyinfo-white);
    opacity: 0.9;
}

.theme-19-novo-buyinfo .header .nav-main_link__first {
    background: var(--buyinfo-categories-bg) !important;
    border-radius: 4px;
    padding: 0.35rem 0.75rem !important;
    margin-right: 0.5rem;
    color: var(--buyinfo-categories-fg) !important;
    fill: var(--buyinfo-categories-fg) !important;
}

.theme-19-novo-buyinfo .header .nav-main_link__first:hover {
    color: var(--buyinfo-categories-fg) !important;
    opacity: 0.92;
}

.theme-19-novo-buyinfo .header .nav-main_link__first .nav-main_text,
.theme-19-novo-buyinfo .header .nav-main_link__first .nav-main_text span:first-child {
    color: var(--buyinfo-categories-fg) !important;
}

.theme-19-novo-buyinfo .header .nav-main_link__first .icon-nav-first,
.theme-19-novo-buyinfo .header .nav-main_link__first .icon-nav-first svg,
.theme-19-novo-buyinfo .header .nav-main_link__first .icon-nav-first svg path {
    fill: var(--buyinfo-categories-fg) !important;
}

.theme-19-novo-buyinfo .header .nav-main_link__first .nav-main_chevron svg,
.theme-19-novo-buyinfo .header .nav-main_link__first .nav-main_chevron svg path {
    fill: var(--buyinfo-categories-fg) !important;
}

.theme-19-novo-buyinfo .header .nav-main_link__first .nav-main_text {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.theme-19-novo-buyinfo .header .nav-main_chevron {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    opacity: 0.95;
}

.theme-19-novo-buyinfo .header .nav-main_chevron svg {
    width: 11px;
    height: 11px;
    display: block;
    fill: var(--buyinfo-white);
}

.theme-19-novo-buyinfo .header .nav-main_chevron svg path {
    fill: var(--buyinfo-white);
}

/* Busca mobile / overlay: mesma tipografia da referência */
.theme-19-novo-buyinfo .header .search .form-input {
    text-transform: none !important;
    letter-spacing: normal !important;
    border-radius: var(--buyinfo-search-radius) !important;
}

.theme-19-novo-buyinfo .header .search .form-input::placeholder {
    text-transform: none !important;
    letter-spacing: normal !important;
}

.theme-19-novo-buyinfo .header .nav-main_content {
    background: var(--buyinfo-navy-bar);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.theme-19-novo-buyinfo .header .nav-main_content .nav-main_children {
    font-weight: 500;
}

/* Trust após o primeiro banner (home) — referência: faixa #E9E9E9, grid 2×2, ícone azul */
.theme-19-novo-buyinfo .home-main .trust-strip {
    background: var(--buyinfo-trust-bg);
    border-bottom: 1px solid rgba(13, 27, 42, 0.06);
    padding: 0.85rem 0;
}

.theme-19-novo-buyinfo .trust-strip_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 992px) {
    .theme-19-novo-buyinfo .trust-strip_list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
        column-gap: 3rem;
        row-gap: 0.55rem;
        justify-items: start;
    }
}

.theme-19-novo-buyinfo .trust-strip_item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--buyinfo-navy);
}

.theme-19-novo-buyinfo .trust-strip_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--buyinfo-trust-icon);
    color: var(--buyinfo-white);
    font-size: 0.62rem;
    line-height: 1;
    flex-shrink: 0;
}

.theme-19-novo-buyinfo .home-main,
.theme-19-novo-buyinfo .product-main,
.theme-19-novo-buyinfo .search-main,
.theme-19-novo-buyinfo .page-main {
    background: var(--buyinfo-surface);
}

.theme-19-novo-buyinfo .home-main .showcase {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background: var(--buyinfo-white);
}

.theme-19-novo-buyinfo .showcase-title {
    color: var(--buyinfo-navy);
    font-weight: 700;
}

/* Títulos de vitrine na home (exceto carrossel): centralizados e caixa alta, como “LANÇAMENTOS” no layout. */
.theme-19-novo-buyinfo .home-main .showcase .showcase-title:not(.showcase-title_carousel) {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 1rem;
    line-height: 1.3;
}

.theme-19-novo-buyinfo .showcase-prices_price {
    color: var(--buyinfo-navy-deep);
    font-weight: 700;
}

.theme-19-novo-buyinfo .showcase-prices_price span {
    color: var(--buyinfo-navy-deep);
}

.theme-19-novo-buyinfo .showcase-prices_strike {
    color: #6b7280;
}

.theme-19-novo-buyinfo .showcase-offer {
    background: var(--buyinfo-accent);
    color: var(--buyinfo-white);
}

.theme-19-novo-buyinfo .showcase-product.card {
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(13, 27, 42, 0.06);
    border: 1px solid rgba(13, 27, 42, 0.06);
}

.theme-19-novo-buyinfo .showcase-product_buy.btn,
.theme-19-novo-buyinfo .btn.btn-primary,
.theme-19-novo-buyinfo .product-btn_buy {
    background: var(--buyinfo-accent);
    border-color: var(--buyinfo-accent);
    color: var(--buyinfo-white);
}

.theme-19-novo-buyinfo .showcase-product_buy.btn:hover,
.theme-19-novo-buyinfo .product-btn_buy:hover {
    background: var(--buyinfo-accent-hover);
    border-color: var(--buyinfo-accent-hover);
    color: var(--buyinfo-white);
}

.theme-19-novo-buyinfo .slider__arrow {
    color: var(--buyinfo-navy);
}

/* Rodapé */
.theme-19-novo-buyinfo footer {
    background: var(--buyinfo-navy-deep);
    color: var(--buyinfo-muted);
}

.theme-19-novo-buyinfo .footer-content_newsletter {
    background: var(--buyinfo-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem 0;
}

.theme-19-novo-buyinfo .footer-newsletter_title {
    color: var(--buyinfo-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.theme-19-novo-buyinfo .footer-newsletter_sub {
    color: var(--buyinfo-muted);
    margin: 0;
    font-size: 0.9rem;
}

.theme-19-novo-buyinfo .footer-newsletter_form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
    justify-content: flex-end;
}

.theme-19-novo-buyinfo .footer-newsletter_input {
    flex: 1 1 140px;
    min-width: 140px;
    max-width: 220px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: var(--buyinfo-white);
}

.theme-19-novo-buyinfo .footer-newsletter_input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.theme-19-novo-buyinfo .footer-newsletter_btn {
    background: var(--buyinfo-white);
    color: var(--buyinfo-navy);
    border: none;
    font-weight: 700;
    border-radius: 6px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.theme-19-novo-buyinfo .footer-newsletter_btn:hover {
    background: #e5e7eb;
    color: var(--buyinfo-navy);
}

.theme-19-novo-buyinfo .footer-content_main {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.theme-19-novo-buyinfo .footer_title {
    color: var(--buyinfo-white);
}

.theme-19-novo-buyinfo .footer-page_link,
.theme-19-novo-buyinfo .footer-contact_item {
    color: var(--buyinfo-muted);
}

.theme-19-novo-buyinfo .footer-page_link:hover,
.theme-19-novo-buyinfo .footer-contact_item:hover {
    color: var(--buyinfo-white);
}

.theme-19-novo-buyinfo .footer-content_compliance {
    background: var(--buyinfo-white);
    color: var(--buyinfo-navy);
    padding: 1.25rem 0;
    border-top: 1px solid rgba(13, 27, 42, 0.08);
}

.theme-19-novo-buyinfo .footer-compliance_columns {
    align-items: flex-start;
}

.theme-19-novo-buyinfo .footer_title_bar {
    color: var(--buyinfo-navy);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.theme-19-novo-buyinfo .footer-content_compliance .footer-payment_item img {
    max-height: 28px;
    width: auto;
    filter: brightness(0) opacity(0.55);
}

.theme-19-novo-buyinfo .footer-content_compliance .footer-stamp_item img {
    max-height: 32px;
    width: auto;
}

.theme-19-novo-buyinfo .footer-content_second {
    background: var(--buyinfo-surface);
    color: var(--buyinfo-muted-dark);
    border-top: 1px solid rgba(13, 27, 42, 0.06);
}

.theme-19-novo-buyinfo .footer-content_second .logo-platform {
    color: #4b5563;
    font-size: 0.8rem;
}

.theme-19-novo-buyinfo .footer-content_second .logo-platform b {
    color: var(--buyinfo-navy);
}

@media (max-width: 991px) {
    .theme-19-novo-buyinfo .trust-strip_list {
        justify-content: center;
        text-align: center;
    }

    .theme-19-novo-buyinfo .trust-strip_item {
        flex: 1 1 45%;
        justify-content: center;
    }

    .theme-19-novo-buyinfo .footer-newsletter_form {
        justify-content: stretch;
        margin-top: 1rem;
    }

    .theme-19-novo-buyinfo .footer-newsletter_input {
        max-width: none;
    }
}
