/* =========================================================
   PSICOAPP — MATERIAIS DIGITAIS
   VERSÃO 2.6
   ========================================================= */

body {
    --psicoapp-blue: #2a6fd6;
    --psicoapp-blue-dark: #123f73;
    --psicoapp-blue-deep: #00357a;
    --psicoapp-blue-soft: #eaf3ff;
    --psicoapp-blue-soft-2: #f5f9ff;
    --psicoapp-border: #d9e7f6;
    --psicoapp-text: #123f73;
    --psicoapp-text-secondary: #5f7693;
    --psicoapp-text-light: #71869f;
}


/* =========================================================
   VITRINE / PÁGINA MATERIAIS
   ========================================================= */

.psicoapp-materiais-vitrine {
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 20px 70px;
    font-family: "Nunito", Arial, sans-serif;
    color: var(--psicoapp-text);
}

.psicoapp-materiais-cabecalho {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 38px;
    text-align: center;
}

.psicoapp-materiais-selo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--psicoapp-blue-soft);
    color: var(--psicoapp-blue-deep);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .4px;
}

.psicoapp-materiais-cabecalho h1 {
    max-width: 900px;
    margin: 0 auto 14px;
    color: var(--psicoapp-blue-dark);
    font-family: "Nunito", Arial, sans-serif;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
}

.psicoapp-materiais-cabecalho p {
    max-width: 820px;
    margin: 0 auto;
    color: var(--psicoapp-text-secondary);
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
}

.psicoapp-materiais-lista {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.psicoapp-material-card {
    position: relative;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    min-height: 165px;
    padding: 17px;
    background: #ffffff;
    border: 1px solid var(--psicoapp-border);
    border-radius: 22px;
    box-shadow: 0 7px 22px rgba(28, 74, 128, 0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* =========================================================
   SELEÇÃO MÚLTIPLA + RESUMO DA COMPRA
   ========================================================= */

.psicoapp-material-card--selecionado {
    border-color: var(--psicoapp-blue);
    box-shadow: 0 11px 28px rgba(42, 111, 214, .14);
}

.psicoapp-material-selecao {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #cfe0f4;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: var(--psicoapp-blue-dark);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(18, 63, 115, .10);
}

.psicoapp-material-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.psicoapp-material-selecao__caixa {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border: 2px solid #9bbbe2;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
}

.psicoapp-material-checkbox:checked + .psicoapp-material-selecao__caixa {
    border-color: var(--psicoapp-blue);
    background: var(--psicoapp-blue);
}

.psicoapp-material-checkbox:checked + .psicoapp-material-selecao__caixa::after {
    content: "";
    width: 8px;
    height: 4px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: translateY(-1px) rotate(-45deg);
}

.psicoapp-material-checkbox:focus-visible + .psicoapp-material-selecao__caixa {
    outline: 3px solid rgba(42, 111, 214, .24);
    outline-offset: 2px;
}

.psicoapp-materiais-resumo {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--psicoapp-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(28, 74, 128, .08);
}

.psicoapp-materiais-resumo__cabecalho,
.psicoapp-materiais-resumo__rodape,
.psicoapp-materiais-resumo__total,
.psicoapp-materiais-resumo__itens li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.psicoapp-materiais-resumo__selo {
    display: block;
    margin-bottom: 5px;
    color: var(--psicoapp-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .6px;
}

.psicoapp-materiais-resumo h2 {
    margin: 0;
    color: var(--psicoapp-blue-dark);
    font-size: 23px;
    line-height: 1.25;
    font-weight: 900;
}

.psicoapp-materiais-resumo__quantidade {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--psicoapp-blue-soft);
    color: var(--psicoapp-blue-dark);
    font-size: 13px;
    font-weight: 800;
}

.psicoapp-materiais-resumo__vazio {
    margin: 18px 0 0;
    padding: 15px;
    border-radius: 12px;
    background: var(--psicoapp-blue-soft-2);
    color: var(--psicoapp-text-secondary);
    text-align: center;
}

.psicoapp-materiais-resumo__itens {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.psicoapp-materiais-resumo__itens li {
    padding: 11px 0;
    border-bottom: 1px solid #e7eff8;
    color: var(--psicoapp-text-secondary);
    font-size: 14px;
}

.psicoapp-materiais-resumo__itens li strong {
    flex: 0 0 auto;
    color: var(--psicoapp-blue-dark);
}

.psicoapp-materiais-resumo__rodape {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--psicoapp-border);
}

.psicoapp-materiais-resumo__total {
    min-width: 190px;
    color: var(--psicoapp-blue-dark);
    font-size: 16px;
    font-weight: 800;
}

.psicoapp-materiais-resumo__total strong {
    color: var(--psicoapp-blue);
    font-size: 24px;
    font-weight: 900;
}

.psicoapp-materiais-resumo__botao {
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid var(--psicoapp-blue);
    border-radius: 12px;
    background: var(--psicoapp-blue);
    color: #fff;
    font-family: "Nunito", Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(42, 111, 214, .17);
}

.psicoapp-materiais-resumo__botao:hover:not(:disabled) {
    border-color: var(--psicoapp-blue-dark);
    background: var(--psicoapp-blue-dark);
}

.psicoapp-materiais-resumo__botao:disabled {
    border-color: #b9c9dc;
    background: #b9c9dc;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 680px) {
    .psicoapp-materiais-resumo__cabecalho,
    .psicoapp-materiais-resumo__rodape {
        align-items: stretch;
        flex-direction: column;
    }

    .psicoapp-materiais-resumo__quantidade {
        align-self: flex-start;
    }

    .psicoapp-materiais-resumo__botao {
        width: 100%;
    }
}

.psicoapp-material-card:hover {
    transform: translateY(-2px);
    border-color: #c5daf2;
    box-shadow: 0 11px 28px rgba(28, 74, 128, 0.10);
}

.psicoapp-material-imagem {
    display: block;
    width: 128px;
}

.psicoapp-material-capa {
    display: block;
    width: 128px !important;
    height: 150px !important;
    object-fit: cover;
    object-position: top;
    margin: 0 !important;
    border-radius: 14px;
    background: var(--psicoapp-blue-soft-2);
    box-shadow: 0 4px 13px rgba(28, 74, 128, 0.08);
}

.psicoapp-material-conteudo {
    min-width: 0;
}

.psicoapp-material-topo {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.psicoapp-material-topo h2 {
    margin: 0;
    color: var(--psicoapp-blue-dark);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
}

.psicoapp-material-topo h2 a {
    color: inherit;
    text-decoration: none;
}

.psicoapp-material-topo h2 a:hover {
    color: var(--psicoapp-blue);
}

.psicoapp-material-preco {
    flex: 0 0 auto;
    white-space: nowrap;
    color: var(--psicoapp-blue);
    font-size: 21px;
    font-weight: 900;
}

.psicoapp-material-preco del {
    display: block;
    color: #8ca0b7;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 600;
    text-align: right;
}

.psicoapp-material-preco ins {
    background: transparent;
    color: var(--psicoapp-blue);
    text-decoration: none;
    font-weight: 900;
}

.psicoapp-material-descricao {
    max-width: 720px;
    margin: 8px 0 13px;
    color: var(--psicoapp-text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

.psicoapp-material-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
}

.psicoapp-botao-ver,
.psicoapp-botao-comprar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 17px;
    border-radius: 11px;
    font-family: "Nunito", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none !important;
}

.psicoapp-botao-ver {
    border: 1px solid var(--psicoapp-blue);
    background: #ffffff;
    color: var(--psicoapp-blue) !important;
}

.psicoapp-botao-ver:hover {
    background: var(--psicoapp-blue-soft);
    border-color: var(--psicoapp-blue-dark);
    color: var(--psicoapp-blue-dark) !important;
}

.psicoapp-botao-comprar {
    padding-right: 18px;
    padding-left: 18px;
    border: 1px solid var(--psicoapp-blue);
    background: var(--psicoapp-blue);
    color: #ffffff !important;
}

.psicoapp-botao-comprar:hover {
    border-color: var(--psicoapp-blue-dark);
    background: var(--psicoapp-blue-dark);
    color: #ffffff !important;
}


/* =========================================================
   PÁGINA INDIVIDUAL
   ========================================================= */

body.psicoapp-material-digital {
    font-family: "Nunito", Arial, sans-serif;
    color: var(--psicoapp-text);
}

body.psicoapp-material-digital .woocommerce-breadcrumb {
    margin-bottom: 24px;
    color: var(--psicoapp-text-light);
    font-size: 14px;
}

body.psicoapp-material-digital .woocommerce-breadcrumb a {
    color: var(--psicoapp-text-secondary);
    text-decoration: none;
}

body.psicoapp-material-digital .woocommerce-breadcrumb a:hover {
    color: var(--psicoapp-blue);
}


/* =========================================================
   ÁREA SUPERIOR: CAPA MENOR + CONTEÚDO
   ========================================================= */

body.psicoapp-material-digital div.product {
    display: grid !important;
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    column-gap: 44px;
    align-items: start;
}

body.psicoapp-material-digital div.product div.images,
body.psicoapp-material-digital .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 300px !important;
    float: none !important;
    justify-self: start;
    margin: 0 !important;
    padding: 14px;
    border: 1px solid var(--psicoapp-border);
    border-radius: 22px;
    background: var(--psicoapp-blue-soft-2);
    box-sizing: border-box;
}

body.psicoapp-material-digital .woocommerce-product-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

body.psicoapp-material-digital .summary.entry-summary {
    width: 100% !important;
    max-width: 690px;
    float: none !important;
    justify-self: start;
    margin: 0 !important;
    padding-top: 7px;
    color: var(--psicoapp-text);
}

body.psicoapp-material-digital .summary .product_title {
    color: var(--psicoapp-blue-dark);
    font-family: "Nunito", Arial, sans-serif;
    font-weight: 800;
}


/* =========================================================
   PREÇO
   ========================================================= */

body.psicoapp-material-digital .summary .price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 22px;
}

body.psicoapp-material-digital .summary .price del {
    color: #8fa2b6;
    font-size: 15px;
    font-weight: 600;
}

body.psicoapp-material-digital .summary .price ins {
    background: transparent;
    color: var(--psicoapp-blue);
    font-size: 30px;
    font-weight: 900;
    text-decoration: none;
}


/* =========================================================
   DESCRIÇÃO CURTA
   ========================================================= */

body.psicoapp-material-digital .woocommerce-product-details__short-description {
    color: var(--psicoapp-blue-dark);
    font-size: 16px;
    line-height: 1.65;
}

body.psicoapp-material-digital .woocommerce-product-details__short-description p {
    margin: 0 0 14px;
}

body.psicoapp-material-digital .woocommerce-product-details__short-description strong {
    color: var(--psicoapp-blue-dark);
    font-weight: 800;
}


/* =========================================================
   BENEFÍCIOS COM ÍCONES
   ========================================================= */

body.psicoapp-material-digital .psicoapp-material-beneficios {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0 20px;
}

body.psicoapp-material-digital .psicoapp-material-beneficio {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid var(--psicoapp-border);
    border-radius: 13px;
    background: var(--psicoapp-blue-soft-2);
    color: var(--psicoapp-blue-dark);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}

body.psicoapp-material-digital .psicoapp-material-beneficio__icone {
    display: inline-flex;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--psicoapp-blue-soft);
    color: var(--psicoapp-blue);
}

body.psicoapp-material-digital .psicoapp-material-beneficio__icone svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   BOTÃO: COMPRA DIRETA
   ========================================================= */

body.psicoapp-material-digital form.cart {
    display: block;
    margin: 18px 0 19px !important;
}

body.psicoapp-material-digital form.cart .quantity {
    display: none !important;
}

body.psicoapp-material-digital .single_add_to_cart_button {
    min-height: 52px;
    padding: 13px 27px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--psicoapp-blue) !important;
    color: #ffffff !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    box-shadow: 0 7px 18px rgba(42, 111, 214, .17);
}

body.psicoapp-material-digital .single_add_to_cart_button:hover {
    background: var(--psicoapp-blue-dark) !important;
    color: #ffffff !important;
}


/* =========================================================
   SELO OFERTA
   ========================================================= */

body.psicoapp-material-digital .onsale {
    background: var(--psicoapp-blue-soft) !important;
    color: var(--psicoapp-blue-dark) !important;
    border: 1px solid #c7dcf6 !important;
    border-radius: 999px !important;
    min-width: auto !important;
    min-height: auto !important;
    padding: 8px 13px !important;
    line-height: 1 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}


/* =========================================================
   META / CATEGORIA
   ========================================================= */

body.psicoapp-material-digital .product_meta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
    color: var(--psicoapp-text-secondary);
    font-size: 13px;
}

body.psicoapp-material-digital .product_meta a {
    color: var(--psicoapp-blue);
    font-weight: 700;
    text-decoration: none;
}

body.psicoapp-material-digital .product_meta .tagged_as {
    display: none !important;
}


/* =========================================================
   REMOVE AVALIAÇÕES E O VISUAL DA ABA ÚNICA
   ========================================================= */

body.psicoapp-material-digital .reviews_tab,
body.psicoapp-material-digital #tab-reviews {
    display: none !important;
}

body.psicoapp-material-digital .woocommerce-tabs {
    grid-column: 1 / -1;
    width: 100% !important;
    margin-top: 50px;
}

body.psicoapp-material-digital .woocommerce-tabs ul.tabs {
    display: none !important;
}

body.psicoapp-material-digital .woocommerce-Tabs-panel--description > h2:first-child {
    display: none !important;
}


/* =========================================================
   DESCRIÇÃO COMPLETA — ESTILO EDITORIAL PSICOAPP
   ========================================================= */

body.psicoapp-material-digital .woocommerce-tabs .panel {
    max-width: 980px;
    margin: 0 auto !important;
    padding: 8px 0 58px;
    color: var(--psicoapp-text-secondary);
    font-size: 16px;
    line-height: 1.75;
}

body.psicoapp-material-digital .woocommerce-tabs .panel h1,
body.psicoapp-material-digital .woocommerce-tabs .panel h2,
body.psicoapp-material-digital .woocommerce-tabs .panel h3,
body.psicoapp-material-digital .woocommerce-tabs .panel h4 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 28px;
    margin-bottom: 14px;
    color: var(--psicoapp-blue-dark);
    font-family: "Nunito", Arial, sans-serif;
    font-weight: 800;
}

body.psicoapp-material-digital .woocommerce-tabs .panel h2::before,
body.psicoapp-material-digital .woocommerce-tabs .panel h3::before,
body.psicoapp-material-digital .woocommerce-tabs .panel h4::before {
    content: "✦";
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--psicoapp-blue-soft);
    color: var(--psicoapp-blue);
    font-size: 14px;
    line-height: 1;
}

body.psicoapp-material-digital .woocommerce-tabs .panel p {
    margin-bottom: 17px;
}

body.psicoapp-material-digital .woocommerce-tabs .panel strong {
    color: var(--psicoapp-blue-dark);
}

body.psicoapp-material-digital .woocommerce-tabs .panel ul {
    margin: 12px 0 24px;
    padding-left: 0;
    list-style: none;
}

body.psicoapp-material-digital .woocommerce-tabs .panel ul li {
    position: relative;
    margin: 8px 0;
    padding-left: 25px;
}

body.psicoapp-material-digital .woocommerce-tabs .panel ul li::before {
    content: "";
    position: absolute;
    top: .72em;
    left: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--psicoapp-blue);
    box-shadow: 0 0 0 5px var(--psicoapp-blue-soft);
}

/* =========================================================
   PSICOAPP — CHECKOUT DE MATERIAIS v3.0
   Baseado no checkout Start/Plus, isolado por body class.
   ========================================================= */

body.psicoapp-checkout-material {
    background: var(--psicoapp-blue-soft-2) !important;
    color: var(--psicoapp-blue-dark) !important;
    font-family: "Nunito", Arial, sans-serif !important;
}

body.psicoapp-checkout-material,
body.psicoapp-checkout-material input,
body.psicoapp-checkout-material select,
body.psicoapp-checkout-material textarea,
body.psicoapp-checkout-material button {
    font-family: "Nunito", Arial, sans-serif !important;
}

body.psicoapp-checkout-material .entry-title,
body.psicoapp-checkout-material .wp-block-post-title {
    display: none !important;
}

body.psicoapp-checkout-material .entry-content,
body.psicoapp-checkout-material .wp-block-post-content {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   INTRO DO CHECKOUT
   ========================================================= */

.psicoapp-checkout-material-intro {
    max-width: 1140px;
    margin: 28px auto 20px;
    padding: 0 22px;
    box-sizing: border-box;
    text-align: center;
}

.psicoapp-checkout-material-intro__selo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--psicoapp-blue-soft);
    color: var(--psicoapp-blue-deep);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .45px;
}

.psicoapp-checkout-material-intro h1 {
    margin: 0 0 7px !important;
    color: var(--psicoapp-blue-dark) !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

.psicoapp-checkout-material-intro > p {
    max-width: 680px;
    margin: 0 auto !important;
    color: var(--psicoapp-text-secondary) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.psicoapp-checkout-material-intro__beneficios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 14px;
}

.psicoapp-checkout-material-intro__beneficios span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--psicoapp-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--psicoapp-blue-dark);
    font-size: 12px;
    font-weight: 700;
}

.psicoapp-checkout-material-intro__beneficios svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: var(--psicoapp-blue);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   PAGAMENTO EXPRESSO
   ========================================================= */

body.psicoapp-checkout-material .psicoapp-checkout-express-oculto {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}


/* =========================================================
   LAYOUT DESKTOP — MESMA BASE DO CHECKOUT START/PLUS
   ========================================================= */

body.psicoapp-checkout-material .wp-block-woocommerce-checkout,
body.psicoapp-checkout-material .wc-block-checkout {
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto 60px !important;
    padding: 0 22px !important;
    box-sizing: border-box !important;
}

body.psicoapp-checkout-material .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 370px !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
}

body.psicoapp-checkout-material .wc-block-checkout__main,
body.psicoapp-checkout-material .wc-block-components-main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 24px !important;
    background: #ffffff !important;
    border: 1px solid var(--psicoapp-border) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.psicoapp-checkout-material .wc-block-checkout__sidebar,
body.psicoapp-checkout-material .wc-block-components-sidebar,
body.psicoapp-checkout-material .psicoapp-resumo-sidebar {
    width: 100% !important;
    max-width: 370px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: sticky !important;
    top: 118px !important;
    box-sizing: border-box !important;
}


/* =========================================================
   ETAPAS / TÍTULOS — COMPACTOS E PROPORCIONAIS
   ========================================================= */

body.psicoapp-checkout-material .wc-block-components-checkout-step {
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

body.psicoapp-checkout-material .wc-block-components-checkout-step:last-child {
    margin-bottom: 0 !important;
}

body.psicoapp-checkout-material .wc-block-components-checkout-step__heading,
body.psicoapp-checkout-material .psicoapp-checkout-heading {
    margin: 0 0 4px !important;
    padding: 0 !important;
}

body.psicoapp-checkout-material .wc-block-components-checkout-step__title,
body.psicoapp-checkout-material .wc-block-components-title {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--psicoapp-blue-dark) !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

body.psicoapp-checkout-material .wc-block-components-checkout-step__description {
    margin: 2px 0 0 !important;
    color: var(--psicoapp-text-secondary) !important;
}

body.psicoapp-checkout-material .wc-block-components-checkout-step__container,
body.psicoapp-checkout-material .wc-block-components-checkout-step__content,
body.psicoapp-checkout-material .wc-block-checkout__contact-fields,
body.psicoapp-checkout-material .wc-block-checkout__billing-fields,
body.psicoapp-checkout-material .wc-block-components-address-form {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.psicoapp-checkout-material .wc-block-checkout__contact-fields,
body.psicoapp-checkout-material .wc-block-checkout__billing-fields {
    margin-bottom: 8px !important;
}


/* =========================================================
   CAMPOS PRINCIPAIS
   ========================================================= */

body.psicoapp-checkout-material .wc-block-components-text-input,
body.psicoapp-checkout-material .wc-block-components-combobox,
body.psicoapp-checkout-material .wc-block-components-combobox-control,
body.psicoapp-checkout-material .wc-block-components-select,
body.psicoapp-checkout-material .wc-block-components-address-form,
body.psicoapp-checkout-material .wc-block-components-address-form > div {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.psicoapp-checkout-material .wc-block-components-text-input input,
body.psicoapp-checkout-material .wc-block-components-combobox-control input,
body.psicoapp-checkout-material .wc-block-components-address-form input,
body.psicoapp-checkout-material .wc-block-components-address-form select,
body.psicoapp-checkout-material .wc-block-components-select .wc-block-components-select__select,
body.psicoapp-checkout-material input[type="text"],
body.psicoapp-checkout-material input[type="email"],
body.psicoapp-checkout-material input[type="tel"],
body.psicoapp-checkout-material select,
body.psicoapp-checkout-material textarea {
    max-width: 100% !important;
    min-height: 52px !important;
    background: #ffffff !important;
    border: 1px solid #cfe3f3 !important;
    border-radius: 12px !important;
    color: var(--psicoapp-blue-dark) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.psicoapp-checkout-material input:focus,
body.psicoapp-checkout-material select:focus,
body.psicoapp-checkout-material textarea:focus {
    border-color: var(--psicoapp-blue) !important;
    box-shadow: 0 0 0 3px rgba(42,111,214,.10) !important;
    outline: none !important;
}

body.psicoapp-checkout-material .wc-block-components-text-input label,
body.psicoapp-checkout-material .wc-block-components-address-form label {
    color: var(--psicoapp-text-secondary) !important;
}


/* =========================================================
   DADOS PESSOAIS — SOMENTE NOME E SOBRENOME
   ========================================================= */

body.psicoapp-checkout-material
.psicoapp-checkout-etapa-dados
.psicoapp-campo-dados-oculto,
body.psicoapp-checkout-material .psicoapp-checkout-etapa-dados .wc-block-components-address-form__company,
body.psicoapp-checkout-material .psicoapp-checkout-etapa-dados .wc-block-components-address-form__address_1,
body.psicoapp-checkout-material .psicoapp-checkout-etapa-dados .wc-block-components-address-form__address_2,
body.psicoapp-checkout-material .psicoapp-checkout-etapa-dados .wc-block-components-address-form__city,
body.psicoapp-checkout-material .psicoapp-checkout-etapa-dados .wc-block-components-address-form__state,
body.psicoapp-checkout-material .psicoapp-checkout-etapa-dados .wc-block-components-address-form__postcode,
body.psicoapp-checkout-material .psicoapp-checkout-etapa-dados .wc-block-components-address-form__country,
body.psicoapp-checkout-material .psicoapp-checkout-etapa-dados .wc-block-components-address-form__phone,
body.psicoapp-checkout-material .psicoapp-checkout-etapa-dados .wc-block-components-address-form__address_2-toggle,
body.psicoapp-checkout-material .wc-block-checkout__add-note,
body.psicoapp-checkout-material .wc-block-checkout__order-notes,
body.psicoapp-checkout-material .wp-block-woocommerce-checkout-order-note-block,
body.psicoapp-checkout-material .wc-block-components-totals-coupon,
body.psicoapp-checkout-material .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
    display: none !important;
}

body.psicoapp-checkout-material
.psicoapp-checkout-etapa-dados
.wc-block-components-address-form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    row-gap: 8px !important;
}

@media screen and (min-width: 768px) {
    body.psicoapp-checkout-material
    .psicoapp-checkout-etapa-dados
    .wc-block-components-address-form {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    body.psicoapp-checkout-material
    .psicoapp-checkout-etapa-dados
    .wc-block-components-address-form > * {
        min-width: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}


/* =========================================================
   OPÇÕES DE PAGAMENTO — CARDS INDIVIDUAIS
   Mesma estratégia do checkout Start/Plus.
   ========================================================= */

body.psicoapp-checkout-material .wc-block-checkout__payment-method {
    width: 100% !important;
    margin-top: 3px !important;
    padding-top: 0 !important;
    scroll-margin-top: 112px !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control,
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-payment-methods,
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control-accordion {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* WooCommerce atual: cada método usa um wrapper accordion-option. */
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control-accordion-option {
    width: 100% !important;
    margin: 0 0 9px !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 1px solid var(--psicoapp-border) !important;
    border-radius: 13px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control-accordion-option:last-child {
    margin-bottom: 0 !important;
}

/* Cabeçalho do método: rádio | nome | ícone. */
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control-accordion-option
.wc-block-components-radio-control__option {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 12px !important;
    width: 100% !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* Fallback para versões sem wrapper accordion-option. */
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control
> .wc-block-components-radio-control__option {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 12px !important;
    width: 100% !important;
    min-height: 56px !important;
    margin: 0 0 9px !important;
    padding: 0 16px !important;
    background: #ffffff !important;
    border: 1px solid var(--psicoapp-border) !important;
    border-radius: 13px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control-accordion-option.psicoapp-pagamento-selecionado,
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control__option.psicoapp-pagamento-selecionado {
    border-color: #9bc9ee !important;
    background: #f6fbff !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control-accordion-option.psicoapp-pagamento-selecionado
.wc-block-components-radio-control__option {
    background: #f6fbff !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control__input {
    grid-column: 1 !important;
    position: static !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    transform: none !important;
    appearance: auto !important;
    -webkit-appearance: radio !important;
    accent-color: var(--psicoapp-blue) !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control__input::before,
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control__input::after {
    content: none !important;
    display: none !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control__option-layout,
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control__label-group {
    display: contents !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control__label {
    grid-column: 2 !important;
    align-self: center !important;
    justify-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--psicoapp-blue-dark) !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-align: left !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control__secondary-label {
    grid-column: 3 !important;
    align-self: center !important;
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control__secondary-label img,
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control__secondary-label svg {
    display: block !important;
    max-width: 36px !important;
    max-height: 26px !important;
}

/* Conteúdo aberto (Boleto / Cartão / Pix) fica dentro do mesmo card. */
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control-accordion-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 16px 14px !important;
    border-top: 1px solid var(--psicoapp-border) !important;
    background: #ffffff !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control-accordion-content p {
    margin-top: 6px !important;
    margin-bottom: 8px !important;
}

/* Não interferimos em campos obrigatórios do Mercado Pago. */
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control-accordion-content label {
    margin-bottom: 4px !important;
}

body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control-accordion-content input,
body.psicoapp-checkout-material
.wc-block-checkout__payment-method
.wc-block-components-radio-control-accordion-content select {
    margin-bottom: 8px !important;
}


/* =========================================================
   RESUMO DO PEDIDO
   ========================================================= */

body.psicoapp-checkout-material .wp-block-woocommerce-checkout-order-summary-block,
body.psicoapp-checkout-material .psicoapp-checkout-resumo {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid var(--psicoapp-border) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.psicoapp-checkout-material
.wp-block-woocommerce-checkout-order-summary-block
.wc-block-components-checkout-step__title,
body.psicoapp-checkout-material
.wp-block-woocommerce-checkout-order-summary-block
.wc-block-components-checkout-order-summary__title-text,
body.psicoapp-checkout-material
.wp-block-woocommerce-checkout-order-summary-block
.wc-block-components-order-summary__title-text,
body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-title {
    margin: 0 !important;
    padding: 18px 16px 12px !important;
    color: var(--psicoapp-blue-dark) !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-product-metadata,
body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-product-badge,
body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-sale-badge {
    display: none !important;
}

body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-order-summary-item {
    padding: 14px 16px !important;
}

body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-order-summary-item__image img {
    border-radius: 8px !important;
}

body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-product-name,
body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-order-summary-item__total-price,
body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-totals-item__label,
body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-totals-item__value {
    color: var(--psicoapp-blue-dark) !important;
}

body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-totals-footer-item
.wc-block-components-totals-item__label,
body.psicoapp-checkout-material
.psicoapp-checkout-resumo
.wc-block-components-totals-footer-item
.wc-block-formatted-money-amount {
    color: var(--psicoapp-blue-dark) !important;
    font-weight: 900 !important;
}


/* =========================================================
   BOTÃO FINAL / TERMOS / VALIDAÇÕES
   ========================================================= */

body.psicoapp-checkout-material .wc-block-components-checkout-place-order-button,
body.psicoapp-checkout-material .wc-block-components-button.wc-block-components-checkout-place-order-button,
body.psicoapp-checkout-material #place_order {
    width: 100% !important;
    min-height: 54px !important;
    margin-top: 14px !important;
    padding: 13px 22px !important;
    background: var(--psicoapp-blue) !important;
    border: 0 !important;
    border-radius: 13px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

body.psicoapp-checkout-material .wc-block-components-checkout-place-order-button:hover,
body.psicoapp-checkout-material #place_order:hover {
    background: var(--psicoapp-blue-dark) !important;
    color: #ffffff !important;
}

body.psicoapp-checkout-material
.wc-block-components-checkout-place-order-button:not(:disabled),
body.psicoapp-checkout-material
#place_order:not(:disabled) {
    cursor: pointer !important;
    opacity: 1 !important;
}

body.psicoapp-checkout-material
.wc-block-components-validation-error,
body.psicoapp-checkout-material
.wc-block-components-notice-banner.is-error,
body.psicoapp-checkout-material
.woocommerce-error {
    display: block !important;
    color: #9b2c2c !important;
}

body.psicoapp-checkout-material .wc-block-components-notice-banner,
body.psicoapp-checkout-material .woocommerce-message,
body.psicoapp-checkout-material .woocommerce-error {
    border-radius: 12px !important;
}

/* Tooltip do CVV fica abaixo do cabeçalho fixo. */
body.psicoapp-checkout-material *:has(> #mp-security-code-info) {
    position: relative !important;
    z-index: 0 !important;
    isolation: isolate !important;
}

body.psicoapp-checkout-material
#mp-security-code-info.mp-checkout-custom-security-code-tooltip {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    z-index: 1 !important;
}

body.psicoapp-checkout-material header,
body.psicoapp-checkout-material #masthead,
body.psicoapp-checkout-material .site-header,
body.psicoapp-checkout-material .elementor-location-header,
body.psicoapp-checkout-material .elementor-sticky--active {
    z-index: 9999 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 767px) {

    .psicoapp-checkout-material-intro {
        margin: 18px auto 14px;
        padding: 0 12px;
    }

    .psicoapp-checkout-material-intro h1 {
        font-size: 26px !important;
    }

    .psicoapp-checkout-material-intro > p {
        font-size: 14px !important;
    }

    .psicoapp-checkout-material-intro__beneficios {
        gap: 7px;
        margin-top: 12px;
    }

    body.psicoapp-checkout-material .wp-block-woocommerce-checkout,
    body.psicoapp-checkout-material .wc-block-checkout {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 12px 34px !important;
    }

    body.psicoapp-checkout-material .wc-block-components-sidebar-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
    }

    body.psicoapp-checkout-material .wc-block-checkout__main,
    body.psicoapp-checkout-material .wc-block-components-main {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    body.psicoapp-checkout-material .wc-block-checkout__sidebar,
    body.psicoapp-checkout-material .wc-block-components-sidebar,
    body.psicoapp-checkout-material .psicoapp-resumo-sidebar {
        order: 2 !important;
        position: static !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    body.psicoapp-checkout-material .wc-block-components-checkout-step {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 12px !important;
        padding: 16px !important;
        background: #ffffff !important;
        border: 1px solid var(--psicoapp-border) !important;
        border-radius: 18px !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    body.psicoapp-checkout-material .wc-block-components-checkout-step::before,
    body.psicoapp-checkout-material .wc-block-components-checkout-step::after {
        display: none !important;
    }

    body.psicoapp-checkout-material .wc-block-components-checkout-step__container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.psicoapp-checkout-material .wc-block-components-checkout-step__heading,
    body.psicoapp-checkout-material .psicoapp-checkout-heading {
        margin-bottom: 5px !important;
    }

    body.psicoapp-checkout-material .wc-block-components-checkout-step__title,
    body.psicoapp-checkout-material .wc-block-components-title {
        font-size: 19px !important;
    }

    body.psicoapp-checkout-material
    .psicoapp-checkout-etapa-dados
    .wc-block-components-address-form {
        display: block !important;
    }

    body.psicoapp-checkout-material
    .psicoapp-checkout-etapa-dados
    .wc-block-components-address-form > * {
        width: 100% !important;
        margin: 0 0 8px !important;
    }

    body.psicoapp-checkout-material
    .wc-block-checkout__payment-method
    .wc-block-components-radio-control-accordion-option,
    body.psicoapp-checkout-material
    .wc-block-checkout__payment-method
    .wc-block-components-radio-control
    > .wc-block-components-radio-control__option {
        margin-bottom: 8px !important;
    }

    body.psicoapp-checkout-material
    .wc-block-checkout__payment-method
    .wc-block-components-radio-control-accordion-option
    .wc-block-components-radio-control__option,
    body.psicoapp-checkout-material
    .wc-block-checkout__payment-method
    .wc-block-components-radio-control
    > .wc-block-components-radio-control__option {
        min-height: 54px !important;
        padding-right: 13px !important;
        padding-left: 13px !important;
    }

    body.psicoapp-checkout-material
    .wc-block-checkout__payment-method
    .wc-block-components-radio-control-accordion-content {
        padding: 10px 13px 13px !important;
    }

    body.psicoapp-checkout-material .wc-block-components-checkout-place-order-button {
        min-height: 56px !important;
        border-radius: 14px !important;
    }
}


/* =========================================================
   PEDIDO RECEBIDO / PIX — PADRÃO PSICOAPP
   ========================================================= */

body.psicoapp-pedido-material {
    font-family: "Nunito", Arial, sans-serif;
    color: var(--psicoapp-blue-dark);
}

body.psicoapp-pedido-material .entry-title,
body.psicoapp-pedido-material .wp-block-post-title {
    display: none !important;
}

body.psicoapp-pedido-material .entry-content,
body.psicoapp-pedido-material .woocommerce {
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
}

body.psicoapp-pedido-material .woocommerce-order {
    padding: 30px 20px 70px;
    box-sizing: border-box;
}


/* Cabeçalho próprio */

.psicoapp-pedido-material-intro {
    max-width: 900px;
    margin: 0 auto 24px;
    text-align: center;
}

.psicoapp-pedido-material-intro__selo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 11px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--psicoapp-blue-soft);
    color: var(--psicoapp-blue-deep);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .45px;
}

.psicoapp-pedido-material-intro h1 {
    margin: 0 0 9px;
    color: var(--psicoapp-blue-dark);
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
}

.psicoapp-pedido-material-intro > p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--psicoapp-text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.psicoapp-pedido-material-intro__itens {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.psicoapp-pedido-material-intro__itens span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--psicoapp-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--psicoapp-blue-dark);
    font-size: 12px;
    font-weight: 700;
}

.psicoapp-pedido-material-intro__itens svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: var(--psicoapp-blue);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Mensagem "pedido recebido" */

body.psicoapp-pedido-material
.woocommerce-thankyou-order-received {
    max-width: 900px;
    margin: 0 auto 20px !important;
    padding: 12px 16px;
    border: 1px solid var(--psicoapp-border);
    border-radius: 12px;
    background: var(--psicoapp-blue-soft-2);
    color: var(--psicoapp-blue-dark);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}


/* Resumo superior */

body.psicoapp-pedido-material
.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    max-width: 1000px;
    margin: 0 auto 28px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--psicoapp-border);
    border-radius: 16px;
    background: #ffffff;
    list-style: none !important;
}

body.psicoapp-pedido-material
.woocommerce-order-overview li {
    min-width: 0;
    margin: 0 !important;
    padding: 16px 14px !important;
    border-right: 1px solid var(--psicoapp-border) !important;
    color: var(--psicoapp-text-secondary);
    font-size: 10px !important;
    line-height: 1.3;
    text-transform: uppercase;
}

body.psicoapp-pedido-material
.woocommerce-order-overview li:last-child {
    border-right: 0 !important;
}

body.psicoapp-pedido-material
.woocommerce-order-overview li strong {
    display: block;
    margin-top: 5px;
    color: var(--psicoapp-blue-dark);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    text-transform: none;
}


/* Área Pix / gateway */

body.psicoapp-pedido-material
.woocommerce-order > h2,
body.psicoapp-pedido-material
.woocommerce-order > h3 {
    color: var(--psicoapp-blue-dark);
    font-family: "Nunito", Arial, sans-serif;
    font-weight: 800;
}

body.psicoapp-pedido-material
.woocommerce-order > h2 {
    max-width: 1000px;
    margin: 30px auto 18px !important;
    text-align: center;
    font-size: 27px;
    line-height: 1.3;
}

/*
 * Mercado Pago pode mudar classes entre versões.
 * Estes seletores cobrem wrappers mais comuns sem afetar
 * outras páginas do site.
 */
body.psicoapp-pedido-material
.woocommerce-order > div:not(.psicoapp-pedido-material-intro),
body.psicoapp-pedido-material
.woocommerce-order .mp-details-pix,
body.psicoapp-pedido-material
.woocommerce-order [class*="pix"],
body.psicoapp-pedido-material
.woocommerce-order [class*="Pix"] {
    font-family: "Nunito", Arial, sans-serif;
}

body.psicoapp-pedido-material
.woocommerce-order img {
    max-width: 100%;
}


/* Card branco principal do Pix */

body.psicoapp-pedido-material
.woocommerce-order > div[style],
body.psicoapp-pedido-material
.woocommerce-order .mp-details-pix {
    border-radius: 20px !important;
}


/* Textos gerais */

body.psicoapp-pedido-material
.woocommerce-order p,
body.psicoapp-pedido-material
.woocommerce-order li {
    color: var(--psicoapp-text-secondary);
}

body.psicoapp-pedido-material
.woocommerce-order strong,
body.psicoapp-pedido-material
.woocommerce-order b {
    color: var(--psicoapp-blue-dark);
}


/* Botões / copiar Pix */

body.psicoapp-pedido-material
.woocommerce-order button,
body.psicoapp-pedido-material
.woocommerce-order .button,
body.psicoapp-pedido-material
.woocommerce-order a.button {
    border: 0 !important;
    border-radius: 11px !important;
    background: var(--psicoapp-blue) !important;
    color: #ffffff !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

body.psicoapp-pedido-material
.woocommerce-order button:hover,
body.psicoapp-pedido-material
.woocommerce-order .button:hover,
body.psicoapp-pedido-material
.woocommerce-order a.button:hover {
    background: var(--psicoapp-blue-dark) !important;
    color: #ffffff !important;
}


/* Detalhes do pedido, quando aparecerem mais abaixo */

body.psicoapp-pedido-material
.woocommerce-order-details {
    max-width: 1000px;
    margin: 34px auto 0;
}

body.psicoapp-pedido-material
.woocommerce-order-details__title,
body.psicoapp-pedido-material
.woocommerce-column__title {
    color: var(--psicoapp-blue-dark);
    font-family: "Nunito", Arial, sans-serif;
    font-weight: 800;
}

body.psicoapp-pedido-material
.woocommerce-order-details table {
    overflow: hidden;
    border: 1px solid var(--psicoapp-border) !important;
    border-radius: 16px;
    background: #ffffff;
}

body.psicoapp-pedido-material
.woocommerce-order-details th,
body.psicoapp-pedido-material
.woocommerce-order-details td {
    border-color: var(--psicoapp-border) !important;
    color: var(--psicoapp-text-secondary);
}

body.psicoapp-pedido-material
.woocommerce-order-details th {
    color: var(--psicoapp-blue-dark);
    font-weight: 800;
}



/* =========================================================
   PEDIDO RECEBIDO — AJUSTES FINAIS
   ========================================================= */

/*
 * Garante que os 5 dados do resumo fiquem na mesma linha:
 * pedido, data, e-mail, total e método de pagamento.
 * O tema/WooCommerce pode aplicar widths/floats próprios,
 * por isso zeramos essas regras aqui.
 */
body.psicoapp-pedido-material
.woocommerce-order-overview {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

body.psicoapp-pedido-material
.woocommerce-order-overview li {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box !important;
}

body.psicoapp-pedido-material
.woocommerce-order-overview li.woocommerce-order-overview__payment-method {
    grid-column: auto !important;
    grid-row: auto !important;
}


/*
 * Produto digital: não exibimos endereço de cobrança
 * na página final do pedido.
 */
body.psicoapp-pedido-material
.woocommerce-customer-details,

body.psicoapp-pedido-material
.woocommerce-columns--addresses,

body.psicoapp-pedido-material
.woocommerce-column--billing-address,

body.psicoapp-pedido-material
.woocommerce-column--shipping-address {
    display: none !important;
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 900px) {

    body.psicoapp-material-digital div.product {
        display: block !important;
    }

    body.psicoapp-material-digital div.product div.images,
    body.psicoapp-material-digital .woocommerce-product-gallery {
        max-width: 360px !important;
        margin: 0 auto 26px !important;
    }

    body.psicoapp-material-digital .summary.entry-summary {
        max-width: 100%;
    }

    body.psicoapp-material-digital .psicoapp-material-beneficios {
        grid-template-columns: 1fr;
    }

    body.psicoapp-material-digital .woocommerce-tabs {
        margin-top: 36px;
    }

    body.psicoapp-checkout-material .wc-block-checkout__main {
        padding-right: 0 !important;
    }

    .psicoapp-checkout-material-intro {
        margin-top: 26px;
    }

    .psicoapp-checkout-material-intro h1 {
        font-size: 29px;
    }
}

@media (max-width: 800px) {

    .psicoapp-materiais-vitrine {
        padding: 36px 16px 55px;
    }

    .psicoapp-materiais-cabecalho h1 {
        font-size: 30px;
    }

    .psicoapp-materiais-cabecalho p {
        font-size: 15px;
    }

    .psicoapp-material-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
        min-height: 145px;
        padding: 13px;
    }

    .psicoapp-material-imagem {
        width: 92px;
    }

    .psicoapp-material-capa {
        width: 92px !important;
        height: 125px !important;
        border-radius: 11px;
    }

    .psicoapp-material-topo {
        display: block;
    }

    .psicoapp-material-topo h2 {
        font-size: 18px;
    }

    .psicoapp-material-preco {
        margin-top: 5px;
        font-size: 18px;
    }

    .psicoapp-material-preco del {
        display: inline;
        margin-right: 6px;
        text-align: left;
    }

    .psicoapp-material-descricao {
        margin: 7px 0 10px;
        font-size: 13px;
        line-height: 1.45;
    }

    .psicoapp-material-acoes {
        gap: 7px;
    }

    .psicoapp-botao-ver,
    .psicoapp-botao-comprar {
        min-height: 37px;
        padding: 8px 12px !important;
        font-size: 12px !important;
    }

    body.psicoapp-checkout-material .wp-block-woocommerce-checkout,
    body.psicoapp-checkout-material .wc-block-checkout {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .psicoapp-checkout-material-intro {
        padding-right: 14px;
        padding-left: 14px;
    }

    .psicoapp-checkout-material-intro__beneficios {
        gap: 7px;
    }
}


@media (max-width: 800px) {

    body.psicoapp-pedido-material .woocommerce-order {
        padding: 24px 14px 55px;
    }

    .psicoapp-pedido-material-intro h1 {
        font-size: 28px;
    }

    .psicoapp-pedido-material-intro > p {
        font-size: 15px;
    }

    body.psicoapp-pedido-material .woocommerce-order-overview {
        grid-template-columns: 1fr 1fr;
    }

    body.psicoapp-pedido-material .woocommerce-order-overview li {
        border-bottom: 1px solid var(--psicoapp-border) !important;
    }

    body.psicoapp-pedido-material .woocommerce-order-overview li:nth-child(even) {
        border-right: 0 !important;
    }

    body.psicoapp-pedido-material .woocommerce-order-overview li:last-child {
        grid-column: 1 / -1;
        border-bottom: 0 !important;
    }

    body.psicoapp-pedido-material .woocommerce-order > h2 {
        font-size: 23px;
    }
}


/* =========================================================
   PSICOAPP — CORREÇÃO FINAL DO RESUMO DO PEDIDO
   VERSÃO 2.11
   ========================================================= */

/*
 * Força os 5 dados do pedido a permanecerem na mesma linha
 * no desktop, mesmo que tema/WooCommerce aplique flex ou
 * larguras próprias.
 */
@media (min-width: 801px) {

    body.psicoapp-pedido-material
    .woocommerce
    ul.order_details.woocommerce-order-overview,

    body.psicoapp-pedido-material
    .woocommerce-order
    ul.woocommerce-order-overview {
        display: grid !important;
        grid-template-columns:
            1fr
            1.25fr
            1.35fr
            .85fr
            1fr !important;
        grid-auto-flow: row !important;
        grid-auto-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 1000px !important;
        margin: 0 auto 28px !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 1px solid var(--psicoapp-border) !important;
        border-radius: 16px !important;
        background: #ffffff !important;
    }

    body.psicoapp-pedido-material
    .woocommerce
    ul.order_details.woocommerce-order-overview
    > li,

    body.psicoapp-pedido-material
    .woocommerce-order
    ul.woocommerce-order-overview
    > li {
        display: block !important;
        grid-column: auto !important;
        grid-row: 1 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
        padding: 16px 14px !important;
        border-right: 1px solid var(--psicoapp-border) !important;
        border-bottom: 0 !important;
        box-sizing: border-box !important;
    }

    body.psicoapp-pedido-material
    .woocommerce
    ul.order_details.woocommerce-order-overview
    > li:nth-child(1) {
        grid-column: 1 !important;
    }

    body.psicoapp-pedido-material
    .woocommerce
    ul.order_details.woocommerce-order-overview
    > li:nth-child(2) {
        grid-column: 2 !important;
    }

    body.psicoapp-pedido-material
    .woocommerce
    ul.order_details.woocommerce-order-overview
    > li:nth-child(3) {
        grid-column: 3 !important;
    }

    body.psicoapp-pedido-material
    .woocommerce
    ul.order_details.woocommerce-order-overview
    > li:nth-child(4) {
        grid-column: 4 !important;
    }

    body.psicoapp-pedido-material
    .woocommerce
    ul.order_details.woocommerce-order-overview
    > li:nth-child(5),
    body.psicoapp-pedido-material
    .woocommerce
    ul.order_details.woocommerce-order-overview
    > li.woocommerce-order-overview__payment-method {
        grid-column: 5 !important;
        grid-row: 1 !important;
        border-right: 0 !important;
    }

    body.psicoapp-pedido-material
    .woocommerce
    ul.order_details.woocommerce-order-overview
    > li strong {
        overflow-wrap: anywhere;
        word-break: normal;
    }
}


/*
 * Nosso cabeçalho já informa o próximo passo.
 * Remove o segundo título grande gerado pelo gateway Pix,
 * evitando repetição visual.
 */
body.psicoapp-pedido-material
.woocommerce-order
> h2 {
    display: none !important;
}


/*
 * Mantém a caixa do Pix mais próxima do resumo.
 */
body.psicoapp-pedido-material
.woocommerce-order
> h2 + * {
    margin-top: 18px !important;
}



/* =========================================================
   PSICOAPP — LINKS DO PEDIDO
   Remove o vermelho do tema e aplica azul PsicoApp
   ========================================================= */

body.psicoapp-pedido-material
.woocommerce table.shop_table a,

body.psicoapp-pedido-material
.woocommerce-order-details a,

body.psicoapp-pedido-material
.woocommerce-customer-details a {
    color: var(--psicoapp-blue-dark) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

body.psicoapp-pedido-material
.woocommerce table.shop_table a:hover,

body.psicoapp-pedido-material
.woocommerce-order-details a:hover,

body.psicoapp-pedido-material
.woocommerce-customer-details a:hover {
    color: var(--psicoapp-blue) !important;
    text-decoration: underline !important;
}


/* =========================================================
   PSICOAPP — TÍTULO DO PIX CENTRALIZADO
   ========================================================= */

body.psicoapp-pedido-material
.psicoapp-pix-titulo-centralizado {
    width: 100% !important;
    max-width: 1000px !important;
    margin: 28px auto 22px !important;
    color: var(--psicoapp-blue-dark) !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 28px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    text-align: center !important;
}

@media (max-width: 800px) {

    body.psicoapp-pedido-material
    .psicoapp-pix-titulo-centralizado {
        margin-top: 24px !important;
        margin-bottom: 18px !important;
        padding: 0 12px;
        font-size: 23px !important;
    }
}



/* =========================================================
   PSICOAPP MATERIAIS — CHECKOUT NO PADRÃO START / PLUS
   VERSÃO 3.1
   ========================================================= */

/*
 * O bloco principal da esquerda segue a mesma composição
 * visual do checkout profissional: card branco, borda clara,
 * cantos arredondados e conteúdo com respiro proporcional.
 */
body.psicoapp-checkout-material .wc-block-checkout__main,
body.psicoapp-checkout-material .wc-block-components-main {
    padding: 26px !important;
    background: #ffffff !important;
    border: 1px solid var(--psicoapp-border) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}


/* Títulos iguais ao checkout Start / Plus */
body.psicoapp-checkout-material
.wc-block-components-checkout-step__title,
body.psicoapp-checkout-material
.wc-block-components-title {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--psicoapp-blue-dark) !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}


/* Cabeçalho de cada bloco: título + texto explicativo */
body.psicoapp-checkout-material
.psicoapp-checkout-heading {
    margin: 0 0 10px !important;
    padding: 0 !important;
}

body.psicoapp-checkout-material
.psicoapp-checkout-heading
.wc-block-components-checkout-step__title {
    margin: 0 !important;
    padding: 0 !important;
}

body.psicoapp-checkout-material
.psicoapp-checkout-subtitulo {
    display: block !important;
    margin: 3px 0 0 !important;
    padding: 0 !important;
    color: var(--psicoapp-text-secondary) !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 15.5px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}


/*
 * Distância entre os três grupos.
 * Mantém o mesmo ritmo visual do modelo profissional.
 */
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-contato,
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-dados {
    margin: 0 0 24px !important;
    padding: 0 !important;
}

body.psicoapp-checkout-material
.psicoapp-checkout-etapa-pagamento {
    margin: 0 !important;
    padding: 0 !important;
}


/* Remove folgas estruturais extras do WooCommerce */
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-contato
.wc-block-components-checkout-step__container,
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-contato
.wc-block-components-checkout-step__content,
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-dados
.wc-block-components-checkout-step__container,
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-dados
.wc-block-components-checkout-step__content,
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-pagamento
.wc-block-components-checkout-step__container,
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-pagamento
.wc-block-components-checkout-step__content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* Campo logo abaixo do subtítulo */
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-contato
.wc-block-checkout__contact-fields,
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-dados
.wc-block-components-address-form,
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-pagamento
.wc-block-checkout__payment-method {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* Inputs com o mesmo desenho do checkout profissional */
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-contato
input,
body.psicoapp-checkout-material
.psicoapp-checkout-etapa-dados
input {
    min-height: 52px !important;
    border: 1px solid #cfe3f3 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: var(--psicoapp-blue-dark) !important;
    box-shadow: none !important;
}


/* Nome e Sobrenome exatamente lado a lado no desktop */
@media screen and (min-width: 768px) {

    body.psicoapp-checkout-material
    .psicoapp-checkout-etapa-dados
    .wc-block-components-address-form {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        width: 100% !important;
    }

    body.psicoapp-checkout-material
    .psicoapp-checkout-etapa-dados
    .wc-block-components-address-form > * {
        min-width: 0 !important;
        margin: 0 !important;
    }
}


/* No celular preserva o padrão em cards da PsicoApp */
@media screen and (max-width: 767px) {

    body.psicoapp-checkout-material
    .psicoapp-checkout-heading {
        margin-bottom: 12px !important;
    }

    body.psicoapp-checkout-material
    .psicoapp-checkout-subtitulo {
        font-size: 13px !important;
    }

    body.psicoapp-checkout-material
    .psicoapp-checkout-etapa-contato,
    body.psicoapp-checkout-material
    .psicoapp-checkout-etapa-dados {
        margin-bottom: 14px !important;
    }
}

/* =========================================================
   VITRINE — BOTÃO COMPARTILHAR
   Fica logo abaixo do valor do material.
   ========================================================= */

.psicoapp-material-lateral {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.psicoapp-material-compartilhar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--psicoapp-border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--psicoapp-blue-dark);
    font-family: "Nunito", Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    box-shadow: none;
    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.psicoapp-material-compartilhar svg {
    width: 15px;
    height: 15px;
    min-width: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-material-compartilhar:hover {
    border-color: var(--psicoapp-blue);
    background: var(--psicoapp-blue-soft);
    color: var(--psicoapp-blue);
}

.psicoapp-material-compartilhar:focus-visible {
    outline: 2px solid var(--psicoapp-blue-claro, #38b6ff);
    outline-offset: 2px;
}

.psicoapp-material-compartilhar--copiado {
    border-color: var(--psicoapp-blue);
    background: var(--psicoapp-blue-soft);
    color: var(--psicoapp-blue);
}

@media (max-width: 800px) {

    .psicoapp-material-lateral {
        align-items: flex-start;
        gap: 6px;
    }

    .psicoapp-material-compartilhar {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* =========================================================
   VITRINE — AÇÕES DO CARD
   Ver produto | Compartilhar | Comprar material
   Somente "Comprar material" fica preenchido em azul.
   ========================================================= */

.psicoapp-material-lateral {
    gap: 0 !important;
}

.psicoapp-material-acoes .psicoapp-material-compartilhar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 9px 17px !important;
    border: 1px solid var(--psicoapp-blue) !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    color: var(--psicoapp-blue) !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

.psicoapp-material-acoes .psicoapp-material-compartilhar svg {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.psicoapp-material-acoes .psicoapp-material-compartilhar:hover {
    background: var(--psicoapp-blue-soft) !important;
    border-color: var(--psicoapp-blue-dark) !important;
    color: var(--psicoapp-blue-dark) !important;
}

.psicoapp-material-acoes .psicoapp-material-compartilhar--copiado {
    background: var(--psicoapp-blue-soft) !important;
    border-color: var(--psicoapp-blue) !important;
    color: var(--psicoapp-blue) !important;
}

/* Garante que somente Comprar material seja botão azul preenchido. */
.psicoapp-material-acoes .psicoapp-botao-comprar {
    background: var(--psicoapp-blue) !important;
    border-color: var(--psicoapp-blue) !important;
    color: #ffffff !important;
}

@media (max-width: 800px) {

    .psicoapp-material-acoes .psicoapp-material-compartilhar {
        min-height: 37px !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}

/* =========================================================
   PRODUTO — CTA DE COMPARTILHAMENTO NO FINAL DA PÁGINA
   ========================================================= */

body.psicoapp-material-digital
.psicoapp-material-cta-compartilhar {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: min(100% - 40px, 1000px);
    margin: 42px auto 54px;
    padding: 22px 24px;
    border: 1px solid var(--psicoapp-border);
    border-radius: 18px;
    background: var(--psicoapp-blue-soft-2);
    box-shadow: none;
}

body.psicoapp-material-digital
.psicoapp-material-cta-compartilhar__icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--psicoapp-blue-soft);
    color: var(--psicoapp-blue);
}

body.psicoapp-material-digital
.psicoapp-material-cta-compartilhar__icone svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.psicoapp-material-digital
.psicoapp-material-cta-compartilhar__conteudo {
    min-width: 0;
}

body.psicoapp-material-digital
.psicoapp-material-cta-compartilhar__conteudo h2 {
    margin: 0 0 4px;
    padding: 0;
    color: var(--psicoapp-blue-dark);
    font-family: "Nunito", Arial, sans-serif;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 900;
}

body.psicoapp-material-digital
.psicoapp-material-cta-compartilhar__conteudo p {
    margin: 0;
    padding: 0;
    color: var(--psicoapp-text-muted);
    font-family: "Nunito", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

body.psicoapp-material-digital
.psicoapp-material-cta-compartilhar__botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    margin: 0;
    padding: 11px 18px;
    border: 1px solid var(--psicoapp-blue);
    border-radius: 12px;
    background: var(--psicoapp-blue);
    color: #ffffff;
    font-family: "Nunito", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
}

body.psicoapp-material-digital
.psicoapp-material-cta-compartilhar__botao svg {
    width: 17px;
    height: 17px;
    min-width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.psicoapp-material-digital
.psicoapp-material-cta-compartilhar__botao:hover,
body.psicoapp-material-digital
.psicoapp-material-cta-compartilhar__botao--copiado {
    background: var(--psicoapp-blue-dark);
    border-color: var(--psicoapp-blue-dark);
    color: #ffffff;
}

body.psicoapp-material-digital
.psicoapp-material-cta-compartilhar__botao:focus-visible {
    outline: 3px solid rgba(56, 182, 255, .22);
    outline-offset: 2px;
}

@media (max-width: 800px) {

    body.psicoapp-material-digital
    .psicoapp-material-cta-compartilhar {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 13px;
        width: calc(100% - 28px);
        margin: 32px auto 42px;
        padding: 18px 16px;
        border-radius: 16px;
    }

    body.psicoapp-material-digital
    .psicoapp-material-cta-compartilhar__icone {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    body.psicoapp-material-digital
    .psicoapp-material-cta-compartilhar__conteudo h2 {
        font-size: 19px;
    }

    body.psicoapp-material-digital
    .psicoapp-material-cta-compartilhar__conteudo p {
        font-size: 13px;
    }

    body.psicoapp-material-digital
    .psicoapp-material-cta-compartilhar__botao {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 46px;
        margin-top: 4px;
    }
}

/* =========================================================
   PRODUTO — BOTÃO X DO LIGHTBOX DA CAPA
   Garante um botão de fechar visível ao ampliar a imagem.
   ========================================================= */

body.psicoapp-material-digital .pswp {
    z-index: 999999 !important;
}

body.psicoapp-material-digital .pswp__top-bar {
    display: block !important;
    opacity: 1 !important;
    background: transparent !important;
}

body.psicoapp-material-digital .pswp__button--close {
    position: fixed !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 1000001 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(16, 43, 77, .14) !important;
    border-radius: 50% !important;

    background: #ffffff !important;
    background-image: none !important;

    box-shadow: 0 8px 24px rgba(0, 0, 0, .20) !important;
    opacity: 1 !important;
    visibility: visible !important;

    font-size: 0 !important;
    color: transparent !important;
    cursor: pointer !important;
}

body.psicoapp-material-digital .pswp__button--close::before,
body.psicoapp-material-digital .pswp__button--close::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;

    width: 20px !important;
    height: 2px !important;

    border-radius: 999px !important;
    background: #102b4d !important;

    transform-origin: center !important;
}

body.psicoapp-material-digital .pswp__button--close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

body.psicoapp-material-digital .pswp__button--close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

body.psicoapp-material-digital .pswp__button--close:hover {
    background: #eaf3ff !important;
    border-color: #2a6fd6 !important;
}

body.psicoapp-material-digital .pswp__button--close:focus-visible {
    outline: 3px solid rgba(56, 182, 255, .35) !important;
    outline-offset: 3px !important;
}

@media (max-width: 767px) {

    body.psicoapp-material-digital .pswp__button--close {
        top: 12px !important;
        right: 12px !important;

        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }
}

/* =========================================================
   PRODUTO — OUTROS MATERIAIS PSICOAPP
   Card horizontal no padrão da vitrine PsicoApp.
   ========================================================= */

body.psicoapp-material-digital .related.products {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 980px !important;
    margin: 8px auto 58px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.psicoapp-material-digital .related.products > h2 {
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: var(--psicoapp-blue-dark) !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 28px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

body.psicoapp-material-digital .related.products ul.products {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.psicoapp-material-digital .related.products ul.products::before,
body.psicoapp-material-digital .related.products ul.products::after {
    display: none !important;
    content: none !important;
}

body.psicoapp-material-digital .related.products ul.products li.product {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 18px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 184px !important;
    float: none !important;
    clear: both !important;
    margin: 0 0 16px !important;
    padding: 17px !important;
    border: 1px solid var(--psicoapp-border) !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow: 0 7px 22px rgba(28, 74, 128, .06) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body.psicoapp-material-digital .related.products ul.products li.product:hover {
    transform: translateY(-3px) !important;
    border-color: #b8d4f2 !important;
    box-shadow: 0 12px 30px rgba(28, 74, 128, .12) !important;
}

body.psicoapp-material-digital .related.products ul.products li.product > a.woocommerce-LoopProduct-link {
    display: grid !important;
    grid-template-columns: 128px minmax(0, 1fr) 105px !important;
    grid-template-rows: auto auto !important;
    column-gap: 22px !important;
    row-gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    text-decoration: none !important;
}

body.psicoapp-material-digital .related.products ul.products li.product img {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    display: block !important;
    width: 128px !important;
    height: 150px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--psicoapp-blue-soft-2) !important;
    object-fit: cover !important;
    object-position: top !important;
    box-shadow: 0 4px 13px rgba(28, 74, 128, .08) !important;
}

body.psicoapp-material-digital .related.products .woocommerce-loop-product__title {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--psicoapp-blue-dark) !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
}

body.psicoapp-material-digital .related.products .price {
    grid-column: 3 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    justify-self: end !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 3px !important;
    margin: 0 !important;
    color: var(--psicoapp-blue) !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 21px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

body.psicoapp-material-digital .related.products .price del {
    color: #8ca0b7 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

body.psicoapp-material-digital .related.products .price ins {
    background: transparent !important;
    color: var(--psicoapp-blue) !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

body.psicoapp-material-digital .related.products .onsale {
    top: 25px !important;
    right: auto !important;
    left: 25px !important;
    z-index: 2 !important;
    margin: 0 !important;
}

body.psicoapp-material-digital .related.products .button,
body.psicoapp-material-digital .related.products .psicoapp-related-buy {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 170px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 15px !important;
    border: 1px solid var(--psicoapp-blue) !important;
    border-radius: 11px !important;
    background: var(--psicoapp-blue) !important;
    color: #ffffff !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 5px 14px rgba(42, 111, 214, .14) !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

body.psicoapp-material-digital .related.products .button:hover,
body.psicoapp-material-digital .related.products .psicoapp-related-buy:hover {
    transform: translateY(-2px) !important;
    border-color: var(--psicoapp-blue-dark) !important;
    background: var(--psicoapp-blue-dark) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(18, 63, 115, .20) !important;
}

/* Reforça o efeito dos botões principais da vitrine. */
.psicoapp-botao-ver,
.psicoapp-botao-comprar,
.psicoapp-material-compartilhar {
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.psicoapp-botao-ver:hover,
.psicoapp-material-compartilhar:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(42, 111, 214, .10) !important;
}

.psicoapp-botao-comprar:hover {
    transform: translateY(-2px) !important;
    background: var(--psicoapp-blue-dark) !important;
    border-color: var(--psicoapp-blue-dark) !important;
    box-shadow: 0 8px 18px rgba(18, 63, 115, .18) !important;
}

@media (max-width: 800px) {
    body.psicoapp-material-digital .related.products ul.products li.product {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    body.psicoapp-material-digital .related.products ul.products li.product > a.woocommerce-LoopProduct-link {
        grid-template-columns: 110px minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        gap: 8px 16px !important;
    }

    body.psicoapp-material-digital .related.products ul.products li.product img {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        width: 110px !important;
        height: 132px !important;
    }

    body.psicoapp-material-digital .related.products .woocommerce-loop-product__title {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: end !important;
        font-size: 18px !important;
    }

    body.psicoapp-material-digital .related.products .price {
        grid-column: 2 !important;
        grid-row: 2 !important;
        align-self: start !important;
        justify-self: start !important;
        align-items: flex-start !important;
    }

    body.psicoapp-material-digital .related.products .button,
    body.psicoapp-material-digital .related.products .psicoapp-related-buy {
        width: 100% !important;
    }
}

@media (max-width: 520px) {
    body.psicoapp-material-digital .related.products {
        width: calc(100% - 28px) !important;
        margin-bottom: 36px !important;
    }

    body.psicoapp-material-digital .related.products > h2 {
        margin-bottom: 16px !important;
        font-size: 24px !important;
    }

    body.psicoapp-material-digital .related.products ul.products li.product {
        padding: 14px !important;
        border-radius: 18px !important;
    }

    body.psicoapp-material-digital .related.products ul.products li.product > a.woocommerce-LoopProduct-link {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        gap: 8px 14px !important;
    }

    body.psicoapp-material-digital .related.products ul.products li.product img {
        width: 92px !important;
        height: 116px !important;
        border-radius: 12px !important;
    }

    body.psicoapp-material-digital .related.products .woocommerce-loop-product__title {
        font-size: 16px !important;
        line-height: 1.35 !important;
    }

    body.psicoapp-material-digital .related.products .onsale {
        top: 20px !important;
        left: 20px !important;
    }
}
