/* =========================================================
   LCS FORNECEDOR - VISUAL PREMIUM (OVERLAY + CARDS)
   ========================================================= */

/* -------------------------
   OVERLAY (POPUP CENTRAL)
-------------------------- */

.overlay-bgl {
    background:
        radial-gradient(1200px 600px at 50% 30%, rgba(158, 9, 9, .25), transparent 60%),
        radial-gradient(900px 500px at 80% 80%, rgba(201, 34, 34, .18), transparent 60%),
        rgba(0, 0, 0, .75) !important;

    backdrop-filter: blur(10px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(120%) !important;
}

.overlay-bgl .content-wrapper {
    width: min(560px, calc(100% - 28px));
    max-width: 560px !important;
    padding: 28px 26px !important;
    border-radius: 18px !important;

    background: linear-gradient(180deg,
            rgba(255, 255, 255, .08) 0%,
            rgba(255, 255, 255, .04) 40%,
            rgba(0, 0, 0, .25) 100%) !important;

    border: 1px solid rgba(158, 9, 9, 0.45) !important;

    box-shadow:
        0 18px 60px rgba(0, 0, 0, .65),
        0 0 0 1px rgba(255, 255, 255, .04) inset,
        0 0 35px rgba(158, 9, 9, .22) !important;

    position: relative;
    overflow: hidden;
}

.overlay-bgl .content-wrapper::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(500px 120px at 50% 0%, rgba(255, 255, 255, .10), transparent 60%),
        radial-gradient(420px 220px at 15% 20%, rgba(158, 9, 9, .22), transparent 60%),
        radial-gradient(420px 220px at 85% 25%, rgba(201, 34, 34, .16), transparent 60%);
    pointer-events: none;
    opacity: .9;
}

.overlay-bgl .content-wrapper span {
    display: block !important;
    letter-spacing: 1px !important;
    line-height: 1.05 !important;
    font-size: 42px !important;
    text-transform: uppercase;
    filter: drop-shadow(0 10px 25px rgba(158, 9, 9, .25));
    margin-bottom: 12px !important;
}

.overlay-bgl .content-wrapper p {
    margin: 0 auto 18px auto !important;
    max-width: 48ch;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}

.overlay-bgl .btn-group {
    margin-top: 16px !important;
    gap: 12px !important;
}

.overlay-bgl .btn-bgl {
    border-radius: 12px !important;
    padding: 12px 18px !important;
    font-size: 15px !important;
    letter-spacing: .2px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease !important;
    min-width: 140px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.overlay-bgl .btn-ver-produtos {
    background: linear-gradient(45deg, #9e0909, #c92222) !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    box-shadow: 0 10px 25px rgba(158, 9, 9, .28) !important;
}

.overlay-bgl .btn-ver-produtos:hover {
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 14px 34px rgba(158, 9, 9, .36) !important;
}

.overlay-bgl .btn-suporte,
.overlay-bgl .btn-grupo {
    background: rgba(10, 10, 10, .45) !important;
    border: 1px solid rgba(255, 59, 59, .55) !important;
    color: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .30) !important;
}

.overlay-bgl .btn-suporte:hover,
.overlay-bgl .btn-grupo:hover {
    transform: translateY(-1px) scale(1.02) !important;
    border-color: rgba(255, 255, 255, .65) !important;
    box-shadow: 0 14px 34px rgba(255, 59, 59, .18) !important;
}

.overlay-bgl .btn-bgl:focus {
    outline: none !important;
}

.overlay-bgl .btn-bgl:focus-visible {
    outline: 2px solid rgba(255, 59, 59, .55) !important;
    outline-offset: 3px !important;
}

@media (max-width: 520px) {
    .overlay-bgl .content-wrapper {
        padding: 22px 18px !important;
        border-radius: 16px !important;
    }

    .overlay-bgl .content-wrapper span {
        font-size: 34px !important;
    }

    .overlay-bgl .content-wrapper p {
        font-size: 14px !important;
        margin-bottom: 16px !important;
    }

    .overlay-bgl .btn-group {
        gap: 10px !important;
    }

    .overlay-bgl .btn-bgl {
        width: 100% !important;
        min-width: unset !important;
        padding: 12px 14px !important;
    }
}


/* =========================================================
   CARDS DOS PRODUTOS (ESCURECIDO / PREMIUM)
   -> aqui é onde a gente resolve o "vermelho vinho" feio
   ========================================================= */

/* Card (agora preto glass, com detalhe vermelho só na borda) */
.product_card,
.sc-284a1cfc-6.fruMxE {
    background: rgba(8, 8, 10, 0.55) !important;
    /* MAIS ESCURO */
    backdrop-filter: blur(18px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(120%) !important;

    border-radius: 16px !important;
    border: 1px solid rgba(158, 9, 9, 0.35) !important;
    /* só a borda vermelha */

    box-shadow:
        0 16px 45px rgba(0, 0, 0, .55),
        0 0 0 1px rgba(255, 255, 255, .03) inset,
        0 0 18px rgba(158, 9, 9, .10) !important;
    /* glow bem leve */

    color: #fff !important;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease !important;
    cursor: pointer !important;
}

.product_card:hover,
.sc-284a1cfc-6.fruMxE:hover {
    transform: translateY(-2px) scale(1.01) !important;
    border-color: rgba(201, 34, 34, 0.70) !important;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .65),
        0 0 22px rgba(158, 9, 9, .16) !important;
}

/* (IMPORTANTE) NÃO vamos mais forçar "todo div" transparente,
   isso era o que mais quebrava coisa no mobile e botões. */

/* Se algum bloco interno vier com fundo, deixa ele acompanhar o card */
.product_card .product_info,
.sc-284a1cfc-6.fruMxE .product_info {
    background: transparent !important;
}

/* Badge/botão dentro do card (mantém escuro premium) */
.product_card .sc-284a1cfc-28.jXrkhw {
    background: rgba(0, 0, 0, .45) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;

    border: 1px solid rgba(201, 34, 34, 0.50) !important;
    border-radius: 12px !important;
    color: rgba(255, 255, 255, .92) !important;
    font-weight: 700 !important;

    transition: transform .18s ease, background .18s ease, border-color .18s ease !important;
}

.product_card .sc-284a1cfc-28.jXrkhw:hover {
    background: rgba(158, 9, 9, 0.55) !important;
    border-color: rgba(255, 255, 255, .25) !important;
    transform: translateY(-1px) !important;
}

/* Ajuste mobile: deixa os cards mais “secos” e sem exagero de blur */
@media (max-width: 520px) {

    .product_card,
    .sc-284a1cfc-6.fruMxE {
        background: rgba(8, 8, 10, 0.62) !important;
        backdrop-filter: blur(14px) saturate(110%) !important;
        -webkit-backdrop-filter: blur(14px) saturate(110%) !important;
    }
}

/* =========================================================
   LCS - BOTÕES BRANCOS -> VERMELHO (SEM QUEBRAR LAYOUT)
   Comprar / Ver Detalhes / Carrinho
   ========================================================= */

/* Variáveis (opcional) */
:root {
    --lcs-red-1: #9e0909;
    --lcs-red-2: #c92222;
    --lcs-red-border: rgba(201, 34, 34, .55);
    --lcs-shadow: rgba(158, 9, 9, .35);
    --lcs-text: #ffffff;
}

/* ---------------------------
   BOTÕES "COMPRAR" e "VER DETALHES"
   (pegamos botões com fundo branco)
---------------------------- */
.product_card button,
.sc-284a1cfc-6.fruMxE button,
.product_card a[role="button"],
.sc-284a1cfc-6.fruMxE a[role="button"] {
    /* NÃO muda display/tamanho, só cor */
    background: linear-gradient(45deg, var(--lcs-red-1), var(--lcs-red-2)) !important;
    color: var(--lcs-text) !important;
    border: 1px solid var(--lcs-red-border) !important;
    box-shadow: 0 10px 22px var(--lcs-shadow) !important;
}

/* Se algum vier com texto escuro forçado */
.product_card button *,
.sc-284a1cfc-6.fruMxE button * {
    color: var(--lcs-text) !important;
}

/* Hover */
.product_card button:hover,
.sc-284a1cfc-6.fruMxE button:hover,
.product_card a[role="button"]:hover,
.sc-284a1cfc-6.fruMxE a[role="button"]:hover {
    filter: brightness(1.08) !important;
    box-shadow: 0 14px 30px rgba(158, 9, 9, .45) !important;
}

/* Focus (acessível) */
.product_card button:focus-visible,
.sc-284a1cfc-6.fruMxE button:focus-visible,
.product_card a[role="button"]:focus-visible,
.sc-284a1cfc-6.fruMxE a[role="button"]:focus-visible {
    outline: 2px solid rgba(255, 59, 59, .65) !important;
    outline-offset: 3px !important;
}

/* ---------------------------
   CARRINHO (botão no topo)
   - Alvo: aria-label do carrinho (mais seguro)
---------------------------- */
a[aria-label*="carrinho"],
button[aria-label*="carrinho"],
a[href*="carrinho"] {
    background: linear-gradient(45deg, var(--lcs-red-1), var(--lcs-red-2)) !important;
    color: var(--lcs-text) !important;
    border: 1px solid var(--lcs-red-border) !important;
    box-shadow: 0 10px 22px var(--lcs-shadow) !important;
}

/* Ícone dentro do carrinho */
a[aria-label*="carrinho"] svg,
button[aria-label*="carrinho"] svg {
    color: var(--lcs-text) !important;
    fill: var(--lcs-text) !important;
    stroke: var(--lcs-text) !important;
}

/* Hover carrinho */
a[aria-label*="carrinho"]:hover,
button[aria-label*="carrinho"]:hover,
a[href*="carrinho"]:hover {
    filter: brightness(1.08) !important;
    box-shadow: 0 14px 30px rgba(158, 9, 9, .45) !important;
}
/* ===============================
   DESCRIÇÃO PREMIUM – LCS
================================ */

.content-wrapper p {
    margin-top: 14px;
    line-height: 1.6;
}

/* Saudação */
.content-wrapper .desc-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(158, 9, 9, .35);
}

/* Texto principal */
.content-wrapper .desc-text {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, .80);
}

/* Palavras em destaque */
.content-wrapper .desc-text b {
    color: #ffffff;
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 520px) {
    .content-wrapper .desc-title {
        font-size: 1rem;
    }

    .content-wrapper .desc-text {
        font-size: 0.9rem;
    }
}
const style=document.createElement('style');

style.textContent=` .desc-wrap {
    margin-top: 14px;
}

.desc-title {
    font-size: 14px;
    letter-spacing: .2px;
    color: rgba(255, 255, 255, .92);
    margin-bottom: 8px;
}

.desc-text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .78);
}

.desc-text b {
    color: rgba(255, 255, 255, .95);
}

.desc-line {
    display: block;
    height: 10px;
}

`;
document.head.appendChild(style);