/* lp-pricing.css */

/* --- Variáveis de Cor para Fácil Customização --- */
:root {
    --lp-primary-orange: #f97316;
    /* Laranja principal (botões, preços) */
    --lp-secondary-orange: #fb923c;
    /* Laranja secundário (títulos, destaques) */
    --lp-dark-bg: #ffffff;
    /* Fundo claro dos cartões */
    --lp-darker-bg: #f5f7fa;
    /* Fundo claro de modais de tela cheia */
    --lp-medium-dark-bg: #f0f2f5;
    /* Fundo claro de modais de detalhe e itens */
    --lp-light-text: #1f2937;
    /* Texto escuro padrão */
    --lp-medium-text: #4b5563;
    /* Texto cinza médio */
    --lp-border-color: #e5e7eb;
    /* Bordas e divisores claras */
    --lp-green-check: #10b981;
    /* Cor verde para ícones de check */
    --lp-blue-link: #2563eb;
    /* Cor azul para links e "Leia Mais" */
    --lp-shadow-dark: rgba(15, 23, 42, 0.08);
    /* Sombra leve para tema claro */
    --lp-shadow-light: rgba(15, 23, 42, 0.04);
    /* Sombra mais leve */

    /* Variáveis para a nova cor dos botões de inclusos */
    --lp-included-btn-bg: #f3f4f6;
    /* Fundo claro com bom contraste */
    --lp-included-btn-hover-bg: #e5e7eb;
    /* Hover mais sutil em tema claro */
    --lp-included-btn-text: #111827;
    /* Texto escuro */
    --lp-included-btn-border: #e5e7eb;
    /* Borda clara */
}

/* Ícone de informação nos benefícios */
.lp-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 5px;
    color: var(--lp-medium-text);
    cursor: help;
    vertical-align: middle;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.lp-info-icon:hover {
    opacity: 1;
    color: var(--lp-primary-orange);
}

.lp-info-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Desativar modais apenas dentro do wrapper de pricing para evitar conflitos globais */
.lpcpt-pricing-wrapper .modal,
.lpcpt-pricing-wrapper .lp-modal,
.lp-pricing-wrapper .modal,
.lp-pricing-wrapper .lp-modal,
.lpcpt-modal {
    display: none !important;
    visibility: hidden !important;
}

/* --- Estilos Globais e do Wrapper --- */
.lp-pricing-wrapper {
    font-family: 'Open Sans', 'Nunito', 'Arial', sans-serif;
    max-width: 1300px;
    /* Largura máxima para a grade de preços */
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
    color: var(--lp-light-text);
    line-height: 1.6;
}

/* --- Spinner de Carregamento --- */
.lp-loading-spinner {
    text-align: center;
    padding: 100px 20px;
    color: var(--lp-medium-text);
}

.lp-loading-spinner .spinner-border {
    width: 5rem;
    /* Spinner maior */
    height: 5rem;
    color: var(--lp-primary-orange) !important;
    margin-bottom: 25px;
    animation: none;
    /* Removida para evitar flicker */
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.lp-loading-spinner p {
    font-size: 1.4rem;
    font-weight: 600;
}

/* --- Layout das Colunas de Preços --- */
.lp-pricing-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    /* Espaçamento entre os cartões */
    justify-content: center;
    align-items: stretch;
    /* Garante que os cartões tenham a mesma altura */
}

/* --- Cartão de Preço Individual --- */
.lp-pricing-card {
    flex: 0 0 calc(25% - 18.75px);
    max-width: calc(25% - 18.75px);
    min-width: 280px;

    background-color: var(--lp-dark-bg);
    border-radius: 20px;
    /* Bordas mais arredondadas premium */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Sombra suave e moderna */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(229, 231, 235, 0.5);
    /* Borda muito sutil */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efeito de hover suave */
    position: relative;
}

.lp-pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(249, 115, 22, 0.3);
    /* Realce sutil da borda */
}

/* --- Cabeçalho do Cartão --- */
.lp-card-header {
    background: linear-gradient(135deg, #fefefe 0%, #f3f4f6 100%);
    padding: 35px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/*.lp-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}*/

.lp-card-header img {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.lp-pricing-card:hover .lp-card-header img {
    transform: scale(1.05);
}

.lp-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    /* Preto suave */
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.lp-card-subtitle {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.lp-card-subtitle span {
    color: var(--lp-primary-orange);
    font-weight: 700;
    background: rgba(249, 115, 22, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.9em;
}

/* --- Corpo do Cartão --- */
.lp-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #fff;
}

/* --- Lista de Benefícios --- */
.lp-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.lp-benefit-item {
    display: flex;
    align-items: center;
    /* Alinhamento centralizado verticalmente */
    margin-bottom: 8px;
    /* Reduced margin */
    font-size: 0.9rem;
    /* Reduced font size from 1rem to 0.9rem */
    color: #374151;
    line-height: 1.3;
    /* Adjusted line height */
    padding: 3px 0;
    /* Reduced padding */
}

.lp-benefit-item i.bi,
.lp-benefit-item .lp-emoji {
    color: var(--lp-green-check);
    margin-right: 8px;
    /* Reduced margin */
    font-size: 1.1rem;
    /* Slightly reduced icon size */
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.lp-benefit-item strong {
    color: #111827;
    font-weight: 700;
}

.lp-info-icon {
    color: #9ca3af;
    margin-left: 6px;
    cursor: help;
    font-size: 0.85em;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.lp-info-icon:hover {
    color: var(--lp-primary-orange);
}

/* --- Área de Preço --- */
.lp-price-display {
    text-align: center;
    margin-top: auto;
    padding-top: 25px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(249, 115, 22, 0.03) 100%);
    border-radius: 0 0 20px 20px;
    margin-bottom: -10px;
    /* Ajuste visual */
    padding-bottom: 15px;
}

.lp-old-price {
    font-size: 1.1rem;
    color: #9ca3af;
    text-decoration: line-through;
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.lp-current-price {
    font-size: 3.1rem;
    /* Um pouco menor para caber melhor na linha */
    font-weight: 900;
    color: #111827;
    /* Preto forte para o preço */
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: baseline;
    /* Garante que 'R$' e o número fiquem na mesma linha de base */
    gap: 6px;
    /* Espaço pequeno mas firme entre R$ e o número */
    letter-spacing: -1.5px;
    white-space: nowrap;
    /* DE VEZ IMPEDE A QUEBRA DESSES DOIS */
}

.lp-current-price .lp-currency-symbol {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0;
    color: #4b5563;
    letter-spacing: 0;
    /* Remove lette-spacing colado para a moeda */
}

.lp-current-price .lp-price-value {
    /* Valor padrão */
}

.lp-parcela-info {
    font-size: 1.2rem;
    color: var(--lp-primary-orange);
    margin-top: 10px;
    font-weight: 700;
    display: block;
}

.lp-price-text-info {
    font-size: 0.9rem;
    color: #9ca3af;
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

.lp-plan-summary {
    display: inline-block;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    /* Gradiente laranja moderno */
    color: white;
    padding: 8px 20px;
    margin-top: 20px;
    border-radius: 50px;
    /* Badge arredondada */
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    border: 2px solid #fff;
    position: relative;
    top: -5px;
}

/* --- Botão de Ação Principal --- */
.lp-btn-action {
    display: block;
    width: 100%;
    padding: 16px 20px;
    margin-top: 25px;
    background: linear-gradient(135deg, #111827 0%, #000000 100%);
    /* Botão preto luxo */
    color: white;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lp-btn-action:hover {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    /* Laranja no hover */
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.4);
    color: white;
}

.lp-btn-action.disabled-btn {
    background-color: #666;
    border-color: #666;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.lp-btn-action.disabled-btn:hover {
    background-color: #666;
    border-color: #666;
    color: white;
}


/* --- Botões para Abrir Modais de Itens Inclusos (nos cartões principais) --- */
.lp-view-all-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-top: 20px;
    background-color: var(--lp-included-btn-bg);
    /* Fundo mais escuro */
    color: var(--lp-included-btn-text);
    /* Texto claro */
    border: 1px solid var(--lp-included-btn-border);
    /* Borda sutil */
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    /* Garante que a sombra interna não vaze */
}

.lp-view-all-btn:hover {
    background-color: var(--lp-included-btn-hover-bg);
    /* Roxo vibrante no hover */
    border-color: var(--lp-included-btn-hover-bg);
    /* Borda segue a cor do hover */
    color: var(--lp-light-text);
    transform: translateY(-4px);
    /* Efeito "flutuar" mais acentuado */
    /* Nova sombra interna e externa mais pronunciada */
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.15), 0 12px 25px rgba(0, 0, 0, 0.6);
}

/* Adicionado um ícone de seta Unicode mais simples para garantir que apareça */
.lp-view-all-btn::after {
    content: " \2192";
    /* Unicode para seta direita (garantido de funcionar) */
    font-size: 1.2em;
    vertical-align: middle;
    margin-left: 8px;
    opacity: 0.8;
    transition: opacity 0.3s ease, margin-left 0.3s ease;
}

.lp-view-all-btn:hover::after {
    opacity: 1;
    margin-left: 15px;
    /* Move a seta um pouco mais no hover */
}

.lp-view-all-btn.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #333;
    border-color: #444;
    transform: none;
    box-shadow: none;
}

.lp-view-all-btn.disabled-btn:hover {
    background-color: #333;
    border-color: #444;
    color: var(--lp-light-text);
}

.lp-view-all-btn.disabled-btn::after {
    content: "";
    /* Remove seta para botões desabilitados */
}


/* --- ESTILOS DOS MODAIS --- */

/* --- Modal de Visão Geral (Tela Cheia) --- */
.lp-fullscreen-modal .modal-dialog {
    max-width: 100vw;
    height: 100vh;
    /* Força a altura total da viewport */
    margin: 0;
    display: flex;
    /* Adiciona flex para alinhamento */
    flex-direction: column;
}

.lp-fullscreen-modal .modal-content {
    height: 100% !important;
    /* Força altura total */
    border-radius: 0;
    background-color: var(--lp-darker-bg);
    color: var(--lp-light-text);
    border: none;
    display: flex;
    flex-direction: column;
}

.lp-fullscreen-modal .modal-header {
    background-color: var(--lp-dark-bg);
    border-bottom: 1px solid var(--lp-border-color);
    padding: 25px 40px;
    flex-shrink: 0;
    /* Impede que o header encolha */
}

.lp-fullscreen-modal .modal-title {
    color: var(--lp-secondary-orange);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

/* Forçar visibilidade do botão fechar nos modais (garante ícone preto) */
.lp-fullscreen-modal .btn-close,
.lp-detail-modal .btn-close {
    filter: none !important;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
    opacity: 0.7;
    padding: 0.5rem;
    margin: -0.5rem;
    box-shadow: none !important;
    /* Remove foco padrão do bootstrap se houver */
}

.lp-fullscreen-modal .btn-close:hover,
.lp-detail-modal .btn-close:hover {
    opacity: 1;
}

.lp-fullscreen-modal .btn-close:hover {
    opacity: 1;
}

.lp-fullscreen-modal .modal-body {
    padding: 30px 40px;
    overflow-y: auto !important;
    /* Força rolagem vertical */
    flex-grow: 1 !important;
    /* Força o body a preencher o espaço restante */
    display: flex;
    /* Para centralizar conteúdo vazio ou grid */
    flex-direction: column;
}

/* --- Grade de Itens Dentro dos Modais Fullscreen --- */
.lp-modal-grid-body {
    display: grid !important;
    /* Força o display grid */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    /* Min de 200px para itens */
    gap: 20px !important;
    /* Espaçamento entre os itens */
    flex-grow: 1 !important;
    /* Permite que a grade preencha o espaço no modal-body */
    align-items: stretch !important;
    /* Garante que os cards internos tenham a mesma altura */
    min-height: 200px !important;
    /* Garante que o grid-body tenha altura mínima para exibir mensagem vazia ou rolagem */
}

.lp-modal-item-card {
    background-color: var(--lp-medium-dark-bg);
    border: 1px solid #4a4a4a;
    border-radius: 12px;
    overflow: hidden;
    display: flex !important;
    /* Força display flex */
    flex-direction: column !important;
    /* Força direção da coluna */
    align-items: center !important;
    /* Centraliza horizontalmente */
    padding: 15px !important;
    text-align: center !important;
    box-shadow: 0 4px 12px var(--lp-shadow-dark);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    height: auto !important;
    /* Permite que a altura do card se ajuste ao conteúdo */
    /* *** AUMENTO E AJUSTE DA ALTURA MÍNIMA PARA GARANTIR ESPAÇO PARA BOTÕES *** */
    min-height: 320px !important;
    /* Aumentada a altura mínima para desktop */
    justify-content: flex-start !important;
    /* Alinha conteúdo ao topo, não distribui espaço */
}

.lp-modal-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.lp-modal-item-card img {
    width: 100% !important;
    /* Imagem preenche a largura do card */
    max-width: 160px !important;
    /* Tamanho máximo da imagem */
    height: 160px !important;
    /* Altura fixa da imagem */
    object-fit: cover !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.lp-modal-item-card h6 {
    font-size: 1.1rem !important;
    color: var(--lp-secondary-orange) !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    /* Limita o título a 2 linhas */
    -webkit-box-orient: vertical !important;
    flex-grow: 1 !important;
    /* Permite que o título ocupe o espaço restante */
    min-height: calc(1.1rem * 1.4 * 2) !important;
    /* Altura mínima para 2 linhas de texto */
}

/* Novo estilo para o container de botões no card de item */
.lp-modal-item-card .lp-button-container {
    display: flex !important;
    /* Força flex */
    flex-direction: column !important;
    /* Força direção de coluna */
    width: 100% !important;
    /* Ocupa a largura total do card */
    margin-top: auto !important;
    /* Empurra para o final */
    gap: 8px !important;
    /* Espaço entre os botões */
    padding-top: 10px !important;
    /* Padding acima dos botões */
}

.lp-modal-item-card .lp-view-details-btn,
.lp-modal-item-card .lp-view-video-btn {
    font-size: 0.95rem !important;
    color: var(--lp-blue-link) !important;
    text-decoration: underline !important;
    background: none !important;
    border: none !important;
    padding: 8px 15px !important;
    border-radius: 6px !important;
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    /* Faz os botões ocuparem a largura total do container */
}

.lp-modal-item-card .lp-view-details-btn:hover,
.lp-modal-item-card .lp-view-video-btn:hover {
    color: var(--lp-light-text) !important;
    background-color: rgba(138, 180, 248, 0.2) !important;
}

/* Estilo específico para o botão de vídeo se precisar de cor diferente */
.lp-modal-item-card .lp-view-video-btn {
    color: #ffcc00 !important;
    /* Amarelo para destacar o vídeo */
}

.lp-modal-item-card .lp-view-video-btn:hover {
    background-color: rgba(255, 204, 0, 0.2) !important;
}


/* Mensagem de "Nenhum produto encontrado" dentro do modal de grid */
.lp-modal-grid-body.empty-grid {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 1.5rem !important;
    color: var(--lp-medium-text) !important;
    text-align: center !important;
    min-height: 200px !important;
    /* Altura mínima para mostrar a mensagem */
}

/* --- Modal de Detalhe (Menor, Centralizado) --- */
.lp-detail-modal .modal-dialog {
    max-width: 950px;
}

.lp-detail-modal .modal-content {
    background-color: var(--lp-medium-dark-bg);
    color: var(--lp-light-text);
    border: 1px solid var(--lp-border-color);
    border-radius: 15px;
}

.lp-detail-modal .modal-header {
    background-color: var(--lp-medium-dark-bg);
    /* Updated to variable */
    border-bottom: 1px solid var(--lp-border-color);
    padding: 20px 30px;
}

.lp-detail-modal .modal-title {
    color: var(--lp-secondary-orange);
    font-weight: bold;
    font-size: 1.8rem;
}

.lp-detail-modal .btn-close {
    filter: invert(1);
    font-size: 1.3rem;
}

.lp-detail-modal .modal-body {
    padding: 30px;
}

.lp-modal-content-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp-modal-content-details img {
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.lp-modal-content-details h4 {
    color: var(--lp-green-check);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.lp-modal-content-details p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--lp-medium-text);
    text-align: justify;
    margin-bottom: 25px;
}

.lp-modal-content-details .lp-btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    font-size: 1.1rem;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 15px;
}

.lp-modal-content-details .lp-btn-secondary:hover {
    background-color: #5a6268;
    color: white;
}


/* --- Truncamento de Texto com "Leia mais..." (para descrições longas) --- */
.lp-truncated-text {
    overflow: hidden;
    position: relative;
    max-height: 120px;
    /* Altura padrão para descrição truncada no modal de detalhe */
    transition: max-height 0.4s ease-out;
    padding-bottom: 30px;
    /* Espaço para o link "Leia mais" */
    margin-bottom: 0;
}

.lp-truncated-text.lp-expanded {
    max-height: none;
    padding-bottom: 0;
}

.lp-truncated-text .lp-read-more {
    color: var(--lp-blue-link);
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.95em;
    display: block;
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    /* Adjusted gradient to better blend with the background */
    background: linear-gradient(to right, rgba(44, 44, 44, 0) 0%, var(--lp-medium-dark-bg) 50%);
    padding-left: 30px;
    padding-top: 8px;
    z-index: 10;
}

.lp-truncated-text .lp-read-more:hover {
    color: #a7ccff;
}


/* --- Vídeos do YouTube (Thumbnail e Botão Play) --- */
.lp-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background-color: #000;
    display: flex;
    /* Ensures content inside can be centered */
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
    /* Ensure z-index is set if there are stacking issues with other elements */
    z-index: 1;
    /* Default z-index for the container */
}

.lp-video-container .lp-video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    z-index: 2;
    /* Thumbnail should be above the container background but below play button */
    transition: opacity 0.3s ease;
}

.lp-video-container .lp-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6em;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    z-index: 3;
    /* Play button should be above thumbnail */
    transition: color 0.3s ease, transform 0.3s ease;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.lp-video-container .lp-play-button:hover {
    color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.lp-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 4;
    /* Iframe should be above all other video elements when active */
}


/* --- Media Queries para Responsividade --- */
@media (max-width: 1350px) {

    /* Nova quebra para 3 colunas */
    .lp-pricing-card {
        flex: 0 0 calc(33.333% - 16.66px) !important;
        /* 3 colunas com 25px de gap */
        max-width: calc(33.333% - 16.66px) !important;
    }
}

@media (max-width: 992px) {
    .lp-pricing-columns {
        gap: 20px;
    }

    .lp-pricing-card {
        flex: 0 0 calc(50% - 10px) !important;
        /* 2 colunas */
        max-width: calc(50% - 10px) !important;
    }

    .lp-card-title {
        font-size: 1.6rem;
        /* Reduz título em 2 colunas */
    }

    .lp-modal-grid-body {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .lp-modal-item-card {
        height: auto !important;
        /* Permitir ajuste de altura em telas menores */
        min-height: 280px !important;
        /* Aumentada para 2 colunas, para garantir espaço para botões */
        justify-content: space-between !important;
        /* Distribute content to make sure buttons are at bottom */
    }

    .lp-modal-item-card img {
        height: 130px;
    }

    .lp-modal-item-card h6 {
        font-size: 1rem;
        -webkit-line-clamp: 3 !important;
        /* Allow more lines for title on smaller screens */
        min-height: calc(1rem * 1.4 * 3) !important;
        /* Ensure min-height for 3 lines */
    }
}

@media (max-width: 768px) {
    .lp-pricing-wrapper {
        padding: 0 15px;
    }

    .lp-card-header {
        padding: 25px 15px;
    }

    .lp-card-body {
        padding: 20px 25px;
    }

    .lp-pricing-card {
        min-width: 250px;
    }

    .lp-card-title {
        font-size: 1.4rem;
        /* Reduz ainda mais título */
    }

    .lp-current-price {
        font-size: 2.8rem;
        /* Ajuste para telas menores */
    }

    .lp-modal-grid-body {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .lp-modal-item-card {
        height: auto !important;
        /* Permitir ajuste de altura em telas menores */
        min-height: 260px !important;
        /* Aumentada para telas menores */
        padding: 12px;
    }

    .lp-modal-item-card img {
        height: 110px;
    }

    .lp-detail-modal .modal-dialog {
        margin: 20px;
    }

    .lp-fullscreen-modal .modal-body {
        padding: 20px;
    }

    .lp-fullscreen-modal .modal-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .lp-pricing-columns {
        gap: 15px;
    }

    .lp-pricing-card {
        flex: 0 0 100% !important;
        /* 1 coluna */
        max-width: 100% !important;
    }

    .lp-card-title {
        font-size: 1.8rem;
    }

    .lp-current-price {
        font-size: 2.5rem;
        /* Mais um ajuste para telas muito pequenas */
    }

    .lp-current-price .lp-currency-symbol {
        font-size: 0.5em;
        /* Manter consistência */
    }

    .lp-btn-action {
        font-size: 1.3rem;
        padding: 15px 20px;
    }

    .lp-view-all-btn {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .lp-modal-grid-body {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .lp-modal-item-card {
        height: auto !important;
        /* Permitir ajuste de altura em telas muito pequenas */
        min-height: 220px !important;
        /* Aumentada para garantir visibilidade dos botões em mobile */
        padding: 10px;
    }

    .lp-modal-item-card img {
        height: 80px;
        margin-bottom: 10px;
    }

    .lp-modal-item-card h6 {
        font-size: 0.85rem;
        -webkit-line-clamp: 4 !important;
        /* Allow even more lines for title on smallest screens */
        min-height: calc(0.85rem * 1.4 * 4) !important;
        /* Ensure min-height for 4 lines */
    }

    .lp-modal-item-card .lp-view-details-btn,
    .lp-modal-item-card .lp-view-video-btn {
        /* Apply to both buttons for consistency */
        font-size: 0.8rem;
        padding: 5px 8px;
    }

    .lp-detail-modal .modal-body {
        padding: 20px;
    }

    .lp-modal-content-details img {
        max-width: 180px;
    }

    .lp-modal-content-details h4 {
        font-size: 1.5rem;
    }

    .lp-modal-content-details p {
        font-size: 0.9rem;
    }

    .lp-truncated-text {
        max-height: 100px;
        padding-bottom: 25px;
    }

    .lp-video-container .lp-play-button {
        font-size: 4em;
    }
}

/* --- Importar ícones do Bootstrap (se não estiverem carregados pelo WP) --- */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
/* Removi a importação do Font Awesome aqui, pois o problema pode ser a falta dele.
   Vou usar a seta Unicode simples que é garantida de funcionar. */