* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Escala tipográfica e fonte (site público + checkout em style.css) */
:root {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --leading-tight: 1.2;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --font-weight-heading: 600;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
    padding-bottom: 40px; /* Espaço para o rodapé */
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

/* Títulos semânticos: tamanhos coerentes (classes de layout continuam podendo sobrescrever) */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: var(--font-weight-heading);
    line-height: var(--leading-snug);
    text-wrap: balance;
}

h1 {
    font-size: clamp(1.65rem, 1.2rem + 1.6vw, var(--text-4xl));
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
    margin: 0 0 0.55em;
}

h2 {
    font-size: clamp(1.3rem, 1.05rem + 1vw, var(--text-2xl));
    margin: 1.1em 0 0.45em;
}

h3 {
    font-size: clamp(1.1rem, 0.98rem + 0.55vw, var(--text-xl));
    margin: 1em 0 0.4em;
}

h4 {
    font-size: var(--text-lg);
    margin: 0.95em 0 0.35em;
}

h5 {
    font-size: var(--text-base);
    margin: 0.9em 0 0.3em;
}

h6 {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-heading);
    letter-spacing: 0.02em;
    margin: 0.85em 0 0.3em;
    color: inherit;
    opacity: 0.92;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

/* Header responsivo: evita sobreposição do "comprando agora" no título (celular ~400px+) */
@media (max-width: 992px) {
    .header {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .header-main {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .header-main .title {
        min-width: 0;
        max-width: 100%;
    }

    .header-main .title-link {
        min-width: 0;
        max-width: 100%;
    }

    .header-buying-now {
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        order: 2;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        margin: 0;
        padding: 6px 12px;
        box-sizing: border-box;
    }

    .header-tagline {
        order: 3;
        flex: 0 0 auto;
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px; /* Mais espaço para o rodapé em mobile */
    }

    .header {
        min-height: 0;
    }
}

/* Celular estreito (iPhone SE 375px, iPhone 12 Pro 390px, Galaxy Z Fold 2 344px): 1 coluna e texto dentro do card */
@media (max-width: 480px) {
    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        min-width: 0;
    }
    .pricing-plan-card {
        width: 100%;
        min-width: 0;
        padding: 16px;
        box-sizing: border-box;
    }
    .plan-title {
        font-size: 17px;
    }
    .plan-details {
        font-size: 13px;
    }
    .plan-price {
        font-size: 26px;
    }
    .select-quality-section {
        min-width: 0;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }
    .paypal-section {
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }
}

/* Celular ~414px (ex.: iPhone XR): 1 coluna, último plano e botões visíveis ao rolar */
@media (max-width: 430px) {
    body {
        padding-bottom: 280px;
    }
    .product-info-section {
        padding-bottom: 48px;
    }
    .paypal-plans-container,
    .paypal-section.crypto-section .paypal-plans-container,
    #crypto-plans-wrapper {
        margin-bottom: 48px;
    }
    .secure-payment-section {
        margin-top: 24px;
        margin-bottom: 48px;
    }
    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pricing-plan-card {
        padding: 16px;
        padding-bottom: 16px;
    }
    .plan-title {
        font-size: 16px;
    }
}

/* iPhone XR (414x896) e viewports baixos: mais espaço para rolar e ver o 👑 VITALÍCIO PREMIUM inteiro */
@media (max-width: 430px) and (max-height: 920px) {
    body {
        padding-bottom: 400px;
    }
    .product-info-section {
        padding-bottom: 56px;
    }
}

/* Preços cripto (4 algarismos): largura estável no mobile */
@media (max-width: 430px) {
    #crypto-plans-wrapper .plan-price {
        min-width: 8ch;
    }
}

/* Botão "Comprar Agora": texto inteiro visível no mobile (igual às opções em R$); permite quebra de linha se necessário */
@media (max-width: 430px) {
    .buy-button {
        padding: 12px 16px;
        font-size: 14px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .header-buying-now {
        padding: 5px 10px;
    }

    .buying-now-number {
        font-size: 14px;
        min-width: 25px;
    }

    .buying-now-text {
        font-size: 11px;
    }

    .buying-now-indicator {
        width: 8px;
        height: 8px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.title {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-heading);
    color: #ffffff;
}

.title-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.title-link:hover {
    opacity: 0.8;
    cursor: pointer;
}

.title-telegram-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: #FF6B35;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input {
    padding: 10px 15px;
    border: 1px solid #1a1a1a;
    border-radius: 20px;
    background: #0f0f0f;
    color: #ffffff;
    font-size: 14px;
    width: 250px;
    max-width: 100%;
    outline: none;
    box-sizing: border-box;
}

.search-input:focus {
    border-color: #FF6B35;
}

.search-button {
    background: #FF6B35;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.search-button:hover {
    background: #E55A2B;
}

/* Header layout com tagline */
.header-main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 0;
}

.header-buying-now {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    border: 1px solid rgba(255, 107, 53, 0.4);
    border-radius: 999px;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    white-space: nowrap;
}

.buying-now-indicator {
    width: 10px;
    height: 10px;
    background: #FF6B35;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.8), 0 0 20px rgba(255, 107, 53, 0.5);
    animation: pulse-orange 2s ease-in-out infinite;
}

@keyframes pulse-orange {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.buying-now-number {
    font-size: 16px;
    font-weight: 700;
    color: #f1f5f9;
    min-width: 30px;
    text-align: center;
}

.buying-now-text {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 500;
}

.header-tagline {
    margin-left: auto;
    max-width: 420px;
    text-align: right;
    font-size: 14px;
    color: #f1f5f9;
    opacity: 0.9;
    position: relative;
    z-index: 0;
}

.header-tagline-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    background: linear-gradient(135deg, #f97316 0%, #facc15 40%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 18px rgba(248, 250, 252, 0.25);
    font-weight: 600;
}

.header-tagline-text.tagline-visible {
    opacity: 1;
    transform: translateY(0);
}

.header-tagline-text.tagline-hiding {
    opacity: 0;
    transform: translateY(-6px);
}

/* Navigation */
.nav {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 10px;
}

.nav-link {
    color: #8a8fa3;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #ffffff;
    background: #1a1a1a;
}

.nav-link.active {
    color: #ffffff;
    background: #1a1a1a;
    font-weight: 600;
}

/* Estilos especiais para o botão Melhores */
.nav-link[href*="melhores"] {
    position: relative;
    color: #FF8C42 !important;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    border: 1px solid rgba(255, 140, 66, 0.3);
    box-shadow: 0 0 15px rgba(255, 140, 66, 0.3),
                0 0 30px rgba(255, 140, 66, 0.2),
                inset 0 0 10px rgba(255, 140, 66, 0.1);
    animation: pulse-gold 2s ease-in-out infinite;
}

.nav-link[href*="melhores"]:hover {
    color: #FF8C42 !important;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.25) 0%, rgba(255, 107, 53, 0.25) 100%);
    border-color: rgba(255, 140, 66, 0.5);
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.4),
                0 0 40px rgba(255, 140, 66, 0.3),
                inset 0 0 15px rgba(255, 140, 66, 0.2);
    transform: translateY(-1px);
}

.nav-link[href*="melhores"].active {
    color: #FF8C42 !important;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.2) 0%, rgba(255, 107, 53, 0.2) 100%);
    border-color: rgba(255, 140, 66, 0.4);
    box-shadow: 0 0 25px rgba(255, 140, 66, 0.5),
                0 0 50px rgba(255, 140, 66, 0.3),
                inset 0 0 20px rgba(255, 140, 66, 0.15);
}

/* Efeito de brilho ao redor do botão Melhores */
.nav-link[href*="melhores"]::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 140, 66, 0.8),
        rgba(255, 107, 53, 0.8),
        rgba(255, 140, 66, 0.8),
        rgba(255, 107, 53, 0.8));
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    animation: glow-border 2s ease-in-out infinite;
    filter: blur(4px);
}

.nav-link[href*="melhores"]:hover::before {
    opacity: 0.6;
}

.nav-link[href*="melhores"].active::before {
    opacity: 0.8;
}

/* Animação de pulso dourado */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 140, 66, 0.3),
                    0 0 30px rgba(255, 140, 66, 0.2),
                    inset 0 0 10px rgba(255, 140, 66, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 140, 66, 0.4),
                    0 0 40px rgba(255, 140, 66, 0.3),
                    inset 0 0 15px rgba(255, 140, 66, 0.15);
    }
}

/* Animação de brilho na borda */
@keyframes glow-border {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

/* Add Group Section */
.add-group-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(30, 30, 30, 0.3);
    border-radius: 12px;
}

.add-group-text {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 500;
}

.add-group-subtext {
    font-size: 14px;
    color: #b0b5c8;
    margin-bottom: 15px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.bot-link {
    display: inline-block;
    color: #FF6B35;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.bot-link:hover {
    background: rgba(255, 107, 53, 0.2);
    text-decoration: none;
    transform: translateY(-2px);
}

.bot-link-inline {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 500;
}

.bot-link-inline:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Featured Group (Detail Page) */
.featured-group {
    background: rgba(30, 30, 30, 0.5);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.featured-group-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

.featured-telegram-logo {
    width: 120px;
    height: 120px;
    background: #FF6B35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.telegram-icon-large {
    width: 70px;
    height: 70px;
}

.featured-group-name-repeat {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.featured-member-count {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 500;
}

.open-telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FF6B35;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: background 0.3s;
}

.open-telegram-button:hover {
    background: #E55A2B;
}

.rating-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.thumbs-button {
    background: transparent;
    border: 2px solid #2a2f4a;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    transform: scale(1);
}

.thumbs-button:hover:not(:disabled) {
    border-color: #FF6B35;
    background: rgba(255, 107, 53, 0.1);
}

.thumbs-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.rating-percentage {
    font-size: 24px;
    font-weight: 600;
    color: #FF8C42;
}

.rating-positive {
    color: #FF8C42 !important;
}

.rating-negative {
    color: #E55A2B !important;
}

.rating {
    color: #FF8C42;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rating-label {
    font-size: 0.85em;
    font-weight: 500;
    opacity: 0.9;
}

.rating-percentage {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.help-text {
    color: #8a8fa3;
    font-size: 14px;
    margin-bottom: 15px;
}

.report-link {
    color: #FF6B35;
    text-decoration: none;
    font-size: 14px;
}

.report-link:hover {
    text-decoration: underline;
}

/* Groups Grid */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.group-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.group-card-link:hover {
    text-decoration: none;
}

.group-card {
    background: rgba(30, 30, 30, 0.5);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    height: 100%;
}

.group-card-link:hover .group-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.telegram-logo-circle {
    width: 80px;
    height: 80px;
    background: #FF6B35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.telegram-icon {
    width: 45px;
    height: 45px;
}

.group-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    word-wrap: break-word;
}

.group-description {
    display: none;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FF6B35;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: background 0.3s;
    width: fit-content;
    pointer-events: none;
}

.group-card-link:hover .telegram-button {
    background: #E55A2B;
}

.telegram-icon-small {
    width: 18px;
    height: 18px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #1a1a1a;
    font-size: 12px;
}

.rating {
    color: #FF8C42;
    font-weight: 600;
}

.member-count {
    color: #8a8fa3;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    margin: 20px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 107, 53, 0.2);
    border-top-color: #FF6B35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-indicator span {
    color: #8a8fa3;
    font-size: 16px;
    font-weight: 500;
}

/* Modal de Denúncia */
.report-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.report-modal-content {
    background-color: #0f0f0f;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.report-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #8a8fa3;
    cursor: pointer;
    transition: color 0.3s;
}

.report-modal-close:hover {
    color: #ffffff;
}

.report-modal-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    margin-right: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    background-color: #000000;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FF6B35;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6a6f83;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.report-submit-button {
    width: 100%;
    padding: 14px;
    background-color: #E55A2B;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.report-submit-button:hover:not(:disabled) {
    background-color: #d32f2f;
}

.report-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    html {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        padding: 15px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .title {
        font-size: var(--text-xl);
        width: 100%;
        word-wrap: break-word;
    }

    .title-telegram-icon {
        width: 24px;
        height: 24px;
    }

    .search-container {
        width: 100%;
        box-sizing: border-box;
    }

    .search-form {
        width: 100%;
        box-sizing: border-box;
    }

    .search-input {
        width: 100%;
        max-width: 100%;
        font-size: 16px; /* Evita zoom no iOS */
        box-sizing: border-box;
    }

    .nav {
        flex-wrap: wrap;
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
        white-space: nowrap;
    }

    /* Ajustar efeitos do botão Melhores em mobile */
    .nav-link[href*="melhores"] {
        box-shadow: 0 0 10px rgba(255, 140, 66, 0.3),
                    0 0 20px rgba(255, 140, 66, 0.2);
    }

    .nav-link[href*="melhores"]::before {
        filter: blur(2px);
    }

    .add-group-section {
        padding: 15px;
        margin-bottom: 30px;
        width: 100%;
        box-sizing: border-box;
    }

    .add-group-text {
        font-size: 16px;
        width: 100%;
        word-wrap: break-word;
    }

    .add-group-subtext {
        font-size: 13px;
        padding: 0;
        width: 100%;
        word-wrap: break-word;
        box-sizing: border-box;
    }

    .bot-link {
        font-size: 14px;
        padding: 8px 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .groups-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .group-card {
        padding: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .group-name {
        font-size: 16px;
        word-wrap: break-word;
        width: 100%;
    }

    .group-meta {
        font-size: 12px;
        width: 100%;
    }

    .featured-group {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .featured-group-name {
        font-size: 20px;
    }

    .featured-telegram-logo {
        width: 100px;
        height: 100px;
    }

    .telegram-icon-large {
        width: 60px;
        height: 60px;
    }

    .featured-member-count {
        font-size: 16px;
    }

    .open-telegram-button {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
    }

    .rating-section {
        flex-wrap: wrap;
        gap: 10px;
    }

    .thumbs-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .report-modal-content {
        padding: 20px;
        width: 95%;
        margin: 10px;
    }

    .report-modal h2 {
        font-size: var(--text-xl);
    }

    .report-form input,
    .report-form textarea,
    .report-form select {
        font-size: 16px; /* Evita zoom no iOS */
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .title {
        font-size: calc(var(--text-xl) + 0.125rem);
    }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
    html {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        padding: 10px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .title {
        font-size: var(--text-lg);
        width: 100%;
        word-wrap: break-word;
    }

    .title-telegram-icon {
        width: 20px;
        height: 20px;
    }

    .add-group-text {
        font-size: 15px;
        width: 100%;
        word-wrap: break-word;
    }

    .add-group-subtext {
        font-size: 12px;
        width: 100%;
        word-wrap: break-word;
    }

    .featured-group {
        padding: 15px 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .featured-group-name {
        font-size: 18px;
    }

    .featured-telegram-logo {
        width: 80px;
        height: 80px;
    }

    .telegram-icon-large {
        width: 50px;
        height: 50px;
    }

    .group-card {
        padding: 12px;
    }

    .report-modal-content {
        padding: 15px;
        width: 98%;
    }
}

/* Collection Page Styles */
.collection-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 80px 20px;
    background: radial-gradient(circle at top center, rgba(255, 140, 66, 0.18) 0%, rgba(0, 0, 0, 0.95) 45%, rgba(0, 0, 0, 1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 140, 66, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-header.collection-header--no-side-models {
    min-height: 420px;
    padding: 56px 20px 48px;
}

.collection-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.1) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.collection-hero-modelo {
    position: absolute;
    bottom: 0;
    height: auto;
    max-height: 90%;
    width: auto;
    z-index: 0;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

.collection-hero-modelo-left {
    left: 0;
    max-width: 35%;
}

.collection-hero-modelo-right {
    right: 0;
    max-width: 35%;
}

.collection-hero {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 15%;
    box-sizing: border-box;
}

.collection-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.45));
    border: 1px solid rgba(255, 107, 53, 0.7);
    color: #FFB366;
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.4);
    margin-bottom: 18px;
    text-align: center;
}

.collection-hero-tag .emoji {
    font-size: 16px;
}

.collection-hero-title {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #FF6B35;
    text-shadow:
        0 0 35px rgba(255, 107, 53, 0.8),
        0 0 80px rgba(255, 107, 53, 0.6);
    margin-bottom: 18px;
}

.collection-hero-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #fefce8;
    margin-bottom: 18px;
}

.collection-hero-text {
    font-size: 18px;
    color: #e5e7eb;
    margin: 4px 0;
}

.collection-hero-text-highlight {
    font-size: 18px;
    margin-top: 12px;
    margin-bottom: 20px;
}

.collection-hero-text .strong {
    color: #FF8C42;
    font-weight: 800;
}

.collection-hero-text .censored {
    color: #FF6B35;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 0 16px rgba(255, 107, 53, 0.6);
}

.collection-hero-offer {
    position: relative;
    z-index: 10;
    margin-top: 10px;
    padding: 18px 22px;
    border-radius: 16px;
    background: radial-gradient(circle at left, rgba(255, 107, 53, 0.35), transparent 60%),
                rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 140, 66, 0.5);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.collection-hero-offer:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75);
    border-color: rgba(255, 140, 66, 0.8);
}

.collection-hero-offer * {
    pointer-events: none;
}

.collection-hero-offer .collection-hero-text {
    font-size: 20px;
}

.collection-hero-footnote {
    margin-top: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #c4b5fd;
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .collection-header {
        min-height: 500px;
        padding: 70px 20px;
    }

    .collection-hero {
        padding: 0 12%;
    }

    .collection-hero-title {
        font-size: 52px;
    }

    .collection-hero-subtitle {
        font-size: 22px;
    }

    .collection-hero-offer {
        padding: 16px 20px;
    }

    .collection-hero-offer .collection-hero-text {
        font-size: 19px;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .collection-header {
        min-height: 450px;
        padding: 60px 15px;
    }

    .collection-hero {
        padding: 0 10%;
    }

    .collection-hero-modelo {
        max-width: 30%;
        max-height: 85%;
    }

    .collection-hero-title {
        font-size: 44px;
        letter-spacing: 0.14em;
    }

    .collection-hero-subtitle {
        font-size: 20px;
    }

    .collection-hero-offer {
        padding: 16px 20px;
    }

    .collection-hero-offer .collection-hero-text {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .collection-header {
        padding: 40px 16px;
        margin-bottom: 40px;
        min-height: 400px;
    }

    .collection-hero {
        padding: 0 5%;
    }

    .collection-hero-modelo {
        max-width: 25%;
        max-height: 75%;
        opacity: 0.5;
    }

    .collection-hero-tag {
        font-size: 11px;
        padding: 6px 14px;
    }

    .collection-hero-title {
        font-size: 32px;
        letter-spacing: 0.12em;
    }

    .collection-hero-subtitle {
        font-size: 18px;
    }

    .collection-hero-text,
    .collection-hero-offer .collection-hero-text {
        font-size: 16px;
    }

    .collection-hero-offer {
        padding: 14px 18px;
        margin-top: 8px;
    }

    .collection-hero-footnote {
        font-size: 12px;
        margin-top: 8px;
    }
}

.collection-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 140, 66, 0.05) 50%, transparent 70%);
    animation: shimmer 3s infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.collection-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF8C42 0%, #FFB366 50%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 140, 66, 0.5);
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: title-glow 2s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 140, 66, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 140, 66, 0.8));
    }
}

.collection-subtitle {
    font-size: 20px;
    color: #ffffff;
    font-weight: 400;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.collection-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.collection-card-link:hover {
    text-decoration: none;
}

/* Padrão claro primeiro: evita flash cinza/escuro antes do fim do parse do CSS (.theme-light no <html>) */
.collection-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
    cursor: pointer;
    height: 100%;
}

/* Assistente visual (etapa 1): botão X para remover produto */
.collection-card.tenant-w-field {
    position: relative;
}

html:not(.theme-light) .collection-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 140, 66, 0.1);
    color: inherit;
}

.collection-card-link:hover .collection-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.35);
}

html:not(.theme-light) .collection-card-link:hover .collection-card {
    box-shadow: 0 15px 40px rgba(255, 140, 66, 0.2);
    border-color: rgba(255, 140, 66, 0.3);
}

.collection-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

html:not(.theme-light) .collection-card-image {
    background: linear-gradient(135deg, #1a1f3a 0%, #2a2f4a 100%);
}

.collection-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(
        135deg,
        var(--tenant-accent, #FF6B35) 0%,
        var(--tenant-accent-deep, #E55A2B) 100%
    );
    color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.collection-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.collection-card-image .telegram-logo-circle {
    width: 100px;
    height: 100px;
    background: #FF6B35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-card-image .telegram-icon {
    width: 60px;
    height: 60px;
}

.collection-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    word-wrap: break-word;
    line-height: 1.4;
}

html:not(.theme-light) .collection-card-title {
    color: #ffffff;
}

.collection-card-description {
    font-size: 14px;
    color: #495057;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left;
    min-height: 60px;
}

html:not(.theme-light) .collection-card-description {
    color: #b0b5c8;
}

.collection-pricing {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(30, 30, 30, 0.5);
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-label {
    font-size: 13px;
    color: #8a8fa3;
    font-weight: 500;
}

.pricing-value {
    font-size: 15px;
    color: #FF8C42;
    font-weight: 600;
}

.collection-details-button {
    display: inline-block;
    background: rgba(30, 30, 30, 0.8);
    color: #FF8C42;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(255, 140, 66, 0.3);
    width: 100%;
    text-align: center;
    pointer-events: none;
}

/* Responsive Collection Page */
@media (max-width: 768px) {
    .collection-title {
        font-size: 32px;
    }

    .collection-subtitle {
        font-size: 16px;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .collection-card {
        padding: 20px;
    }

    .collection-card-image {
        height: 150px;
    }

    .collection-card-image .telegram-logo-circle {
        width: 80px;
        height: 80px;
    }

    .collection-card-image .telegram-icon {
        width: 50px;
        height: 50px;
    }

    .collection-card-title {
        font-size: 18px;
    }

    .collection-card-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .collection-header {
        padding: 30px 12px;
        margin-bottom: 30px;
        min-height: 350px;
    }

    .collection-hero {
        padding: 0 3%;
    }

    .collection-hero-tag {
        font-size: 10px;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .collection-hero-title {
        font-size: 28px;
        letter-spacing: 0.1em;
        margin-bottom: 12px;
    }

    .collection-hero-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .collection-hero-text {
        font-size: 14px;
    }

    .collection-hero-text-highlight {
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .collection-hero-offer {
        padding: 12px 16px;
        margin-top: 6px;
        border-radius: 12px;
    }

    .collection-hero-offer .collection-hero-text {
        font-size: 15px;
    }

    .collection-hero-footnote {
        font-size: 11px;
        margin-top: 6px;
        letter-spacing: 0.15em;
    }

    .collection-hero-modelo {
        max-width: 20%;
        max-height: 65%;
        opacity: 0.4;
    }

    .collection-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .collection-grid {
        gap: 15px;
    }

    .collection-card {
        padding: 15px;
    }

    .collection-subtitle {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    .collection-subtitle {
        font-size: 14px;
    }

    .collection-card {
        padding: 15px;
    }

    .collection-card-image {
        height: 120px;
    }
}

/* Product Detail Page Styles */
.back-to-store {
    margin-bottom: 20px;
}

.back-link {
    color: #FF8C42;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Overlay vitrine SaaS até window.load (lista + ficha do produto) */
.tenant-storefront-loading {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    transition:
        opacity 0.38s ease,
        visibility 0.38s ease;
}

.tenant-storefront-loading--done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tenant-storefront-loading__spinner {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-top-color: #e55a2b;
    animation: tenant-storefront-loading-spin 0.72s linear infinite;
}

.tenant-storefront-loading__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    letter-spacing: 0.02em;
}

@keyframes tenant-storefront-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tenant-storefront-loading {
        transition-duration: 0.12s;
    }

    .tenant-storefront-loading__spinner {
        animation-duration: 1.4s;
    }
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-image-section {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 500px;
}

html:not(.theme-light) .product-image-section {
    background: rgba(30, 30, 30, 0.5);
    border: none;
}

.product-main-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 0;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-placeholder--empty {
    min-height: 260px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.product-image-placeholder-wiz-hint {
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
    font-weight: 500;
    pointer-events: none;
    max-width: 280px;
}

.telegram-logo-circle-large {
    width: 200px;
    height: 200px;
    background: #FF6B35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-icon-large {
    width: 120px;
    height: 120px;
}

.product-video-section {
    margin-top: 20px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    padding: 15px;
    display: block;
}

html:not(.theme-light) .product-video-section {
    background: rgba(30, 30, 30, 0.8);
}

.product-video-embed {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 220px;
    max-height: min(70vh, 520px);
    border: 0;
    border-radius: 8px;
    display: block;
    background: #000000;
}

.product-video {
    width: 100%;
    height: auto;
    max-height: 500px;
    min-height: 300px;
    border-radius: 8px;
    display: block;
    background: #000000;
    outline: none;
}

.product-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
    overflow-x: hidden;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    color: #FF8C42;
    margin: 0;
    text-shadow: 0 2px 10px rgba(255, 140, 66, 0.3);
}

.product-detail-container .product-info .product-title {
    color: #1a1a1a;
    text-shadow: none;
}

html:not(.theme-light) .product-detail-container .product-info .product-title {
    color: #FF8C42;
    text-shadow: 0 2px 10px rgba(255, 140, 66, 0.3);
}

/* Fundo personalizado do detalhe do produto (envoltório + filhos transparentes) */
.tenant-detail-surface-shell.tenant-detail-surface-has-custom-bg > .product-description,
.tenant-detail-surface-shell.tenant-detail-surface-has-custom-bg > .benefits-section,
.tenant-detail-surface-shell.tenant-detail-surface-has-custom-bg > .secure-payment-section {
    background: transparent !important;
    border: none !important;
}
.tenant-detail-surface-shell--media.tenant-detail-surface-has-custom-bg > .product-image-section {
    background: transparent !important;
    border: none !important;
}
.theme-light .tenant-detail-surface-shell.tenant-detail-surface-has-custom-bg > .secure-payment-section {
    background: transparent !important;
    border: none !important;
}

.product-description {
    background: rgba(248, 249, 250, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 20px;
    color: #495057;
    font-size: 16px;
    line-height: 1.6;
}

html:not(.theme-light) .product-description {
    background: rgba(30, 30, 30, 0.5);
    border: none;
    color: #b0b5c8;
}

.benefits-section {
    background: rgba(248, 249, 250, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 25px;
}

html:not(.theme-light) .benefits-section {
    background: rgba(30, 30, 30, 0.5);
    border: none;
}

.benefits-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

html:not(.theme-light) .benefits-title {
    color: #ffffff;
}

.crown-icon {
    font-size: 24px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefits-list li {
    color: #495057;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

html:not(.theme-light) .benefits-list li {
    color: #ffffff;
}

.benefits-content {
    color: #495057;
    font-size: 16px;
    line-height: 1.8;
    white-space: pre-line;
}

html:not(.theme-light) .benefits-content {
    color: #ffffff;
}

.benefits-content br {
    display: block;
    margin: 8px 0;
}

.star-icon {
    color: #FF8C42;
    font-size: 18px;
}

.select-quality-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
}

.select-quality-title {
    font-size: 24px;
    font-weight: 700;
    color: #FF8C42;
    margin: 0;
}

.payment-currency-btn {
    padding: 10px 18px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(30, 30, 30, 0.9);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.payment-currency-btn:hover {
    border-color: rgba(255, 140, 66, 0.5);
    color: #fff;
}
.payment-currency-btn-active {
    border-color: #FF8C42;
    background: rgba(255, 140, 66, 0.2);
    color: #FF8C42;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    min-width: 0;
}

/* Na página do produto (coluna direita), 2 colunas a partir de 1300px para o 3º plano não ficar cortado */
.product-detail-container .pricing-plans {
    max-width: 100%;
}
@media (max-width: 1300px) {
    .product-detail-container .pricing-plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Celular / tablet estreito: 1 coluna (legível; antes 2 colunas ficavam apertadas) */
@media (max-width: 768px) {
    .product-detail-container .pricing-plans {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 1100px) {
    .pricing-plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-plan-card {
    background: rgba(20, 20, 20, 0.9);
    border-radius: 16px;
    padding: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-sizing: border-box;
}

.pricing-plan-card:hover {
    border-color: rgba(255, 140, 66, 0.4);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.15);
    transform: translateY(-3px);
}

.pricing-plan-card-featured {
    border: 2px solid #FF6B35;
    background: rgba(20, 20, 20, 0.95);
    box-shadow: 0 0 30px rgba(255, 75, 75, 0.2);
}

/* Fundo personalizado (catálogo / assistente): substitui gradiente do «featured» */
.pricing-plan-card.tenant-pricing-plan-bg-custom.pricing-plan-card-featured {
    background-image: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 75, 75, 0.4);
    z-index: 10;
}

.plan-discount-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
    z-index: 10;
}

.plan-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.plan-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-width: 0;
}

.plan-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.plan-title-section {
    flex: 1;
    min-width: 0;
}

.plan-title {
    color: #FF8C42;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.plan-details {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.plan-pricing {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.plan-price-original {
    display: none !important;
}

.plan-price {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-all;
}

.plan-period {
    color: #94a3b8;
    font-size: 13px;
    opacity: 0.8;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
    margin-bottom: 20px;
    min-width: 0;
}

.plan-feature {
    color: #e2e8f0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

.buy-button {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: center;
    /* Texto sempre dentro do botão (R$ e PayPal): quebra de linha em vez de sair */
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.buy-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.buy-button-featured {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    border: none;
    color: #ffffff;
}

.buy-button-featured:hover {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    box-shadow: 0 6px 20px rgba(255, 75, 75, 0.4);
}

@media (max-width: 968px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-plans {
        grid-template-columns: 1fr;
    }
    
    .pricing-plan-card {
        width: 100%;
    }
}

/* Seção PayPal (isolada, como Pagamento Seguro) */
.paypal-section {
    background: rgba(30, 30, 30, 0.5);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.paypal-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #FF8C42;
    margin: 0 0 8px 0;
    display: inline-flex;
}

.crypto-wallet-block-title {
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.paypal-section-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.paypal-section-desc {
    color: #b0b5c8;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 14px 0;
}

.paypal-section-currencies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.crypto-currency-btns {
    margin-bottom: 8px;
    max-width: 100%;
    min-width: 0;
}

.crypto-currency-btns .payment-currency-btn {
    font-size: 13px;
    padding: 10px 14px;
}

/* Seção cripto não invadir coluna dos vídeos (fica contida na coluna da direita) */
.paypal-section.crypto-section {
    max-width: 100%;
    min-width: 0;
}

/* Seção PayPal (não cripto): margem abaixo para não sobrepor Criptomoedas */
#paypal-section {
    margin-bottom: 28px;
}

#crypto-plans-wrapper {
    max-width: 100%;
    min-width: 0;
}

.paypal-plans-container {
    margin-top: 20px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.45s ease;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.paypal-plans-container.paypal-plans-show {
    opacity: 1;
    max-height: 2000px;
    overflow: visible;
}

.paypal-plans-container .paypal-plan-price {
    transition: opacity 0.2s ease;
}

.paypal-plans-container.paypal-plans-updating .paypal-plan-price {
    opacity: 0.5;
}

.paypal-plans-container .pricing-plans {
    margin: 0;
    padding-top: 18px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Cards e botões PayPal: mesmo layout dos planos em R$ (largura total, texto dentro do botão) */
.paypal-plans-container .pricing-plan-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.paypal-plans-container .buy-button {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

/* Preços em cripto: padrão XX,XX com sigla abaixo (como R$ XX,XX no Real) */
.plan-price-crypto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}
.plan-price-crypto .crypto-price-value {
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.2;
}
.plan-price-crypto .crypto-price-symbol {
    font-size: 0.85em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

#crypto-plans-wrapper .plan-price {
    min-width: 8ch;
}

.secure-payment-section {
    background: rgba(30, 30, 30, 0.5);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.secure-payment-title {
    font-size: 20px;
    font-weight: 700;
    /* Sites tenant: --tenant-accent vem da «Cor de destaque» (tenant_surface_css) */
    color: var(--tenant-accent, #FF8C42);
    margin: 0 0 10px 0;
}

.secure-payment-text {
    color: #b0b5c8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Product Detail */
@media (max-width: 968px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-image-section {
        min-height: 300px;
    }

    .product-video-section {
        margin-top: 15px;
        padding: 8px;
    }

    .product-video {
        max-height: 300px;
    }
    
    .pricing-plans {
        grid-template-columns: 1fr;
    }

    .product-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 24px;
    }

    .pricing-plan-card {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .buy-button {
        width: 100%;
    }

    .plan-left {
        width: 100%;
    }

    /* Seção planos: lista vertical estilo checkout (cripto) */
    .select-quality-section {
        gap: 16px;
    }
    .select-quality-section .pricing-plans,
    .paypal-plans-container .pricing-plans,
    #crypto-plans-wrapper .pricing-plans {
        gap: 12px;
    }
    .select-quality-section .pricing-plan-card {
        border-radius: 14px;
        padding: 18px 16px 16px;
        max-width: 100%;
    }
    .select-quality-section .plan-title {
        font-size: 18px;
        line-height: 1.25;
    }
    .select-quality-section .plan-details {
        font-size: 13px;
        line-height: 1.35;
    }
    .select-quality-section .plan-header {
        align-items: center;
        gap: 12px;
    }
    .select-quality-section .plan-icon {
        font-size: 28px;
    }
}

/* Desktop/tablet largo: preencher melhor a coluna da direita com os planos */
@media (min-width: 769px) {
    .product-detail-container .pricing-plans,
    .paypal-plans-container .pricing-plans,
    #crypto-plans-wrapper .pricing-plans {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

/* Payment/Checkout Styles */
.payment-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 16px;
}

.payment-title {
    font-size: clamp(1.65rem, 1.15rem + 1.8vw, var(--text-3xl));
    font-weight: 700;
    color: #FF8C42;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 140, 66, 0.5);
}

.payment-instruction {
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.payment-product-section {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.payment-product-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.payment-product-name {
    font-size: 20px;
    font-weight: 600;
    color: #FF6B35;
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.payment-product-plan {
    font-size: 16px;
    color: #ffffff;
    opacity: 0.8;
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.payment-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-price-label {
    font-size: 16px;
    color: #ffffff;
}

.payment-price-value {
    font-size: 32px;
    font-weight: 700;
    color: #FF6B35;
    overflow-wrap: break-word;
    word-break: break-all;
}

.payment-price-crypto-full .payment-price-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    min-width: 0;
}
.payment-price-crypto-full .payment-price-value {
    word-break: break-all;
    margin-bottom: 2px;
}
.payment-price-crypto-full .payment-price-symbol {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.payment-crypto-plans-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.payment-crypto-plan-card {
    flex: 1 1 140px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(30, 30, 30, 0.6);
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;
}

.payment-crypto-plan-card:hover {
    border-color: rgba(255, 107, 53, 0.5);
    background: rgba(40, 40, 40, 0.8);
}

.payment-crypto-plan-card-selected {
    border-color: #FF6B35;
    background: rgba(255, 107, 53, 0.12);
}

.payment-crypto-plan-card-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.payment-crypto-plan-card-amount {
    display: block;
    font-size: 14px;
    color: #FF6B35;
    font-weight: 600;
    word-break: break-all;
    overflow-wrap: break-word;
}

.theme-light .payment-crypto-plan-card {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a1a;
}

.theme-light .payment-crypto-plan-card-name {
    color: #1a1a1a;
}

.theme-light .payment-crypto-plan-card:hover {
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(0, 0, 0, 0.06);
}

.theme-light .payment-crypto-plan-card-selected {
    border-color: #FF6B35;
    background: rgba(255, 107, 53, 0.1);
}

/* Dispositivos pequenos (ex.: Pixel 7 412px): planos em coluna e texto sem sair do botão */
@media (max-width: 430px) {
    .payment-crypto-plans-row {
        flex-direction: column;
    }
    .payment-crypto-plan-card {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .payment-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .payment-product-section {
        padding-left: 16px;
        padding-right: 16px;
    }
    .payment-product-name {
        font-size: 17px;
    }
    .payment-product-plan {
        font-size: 14px;
    }
    .payment-price-value {
        font-size: 24px;
    }
    .payment-price-section {
        flex-wrap: wrap;
    }
}


.payment-qr-section {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.payment-qr-title {
    font-size: 20px;
    font-weight: 600;
    color: #FF6B35;
    margin-bottom: 20px;
}

.payment-qr-code-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    display: inline-block;
}

.payment-qr-code {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.payment-qr-instruction {
    color: #ffffff;
    font-size: 14px;
    opacity: 0.8;
    margin-top: 15px;
}

.payment-pix-code-section {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.payment-pix-code-title {
    font-size: 20px;
    font-weight: 600;
    color: #FF8C42;
    margin-bottom: 20px;
}

.payment-pix-code-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-pix-code-input {
    width: 100%;
    padding: 15px;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-family: monospace;
    word-break: break-all;
    box-sizing: border-box;
}

.payment-copy-button {
    padding: 15px 30px;
    background: #FF8C42;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-copy-button:hover {
    background: #FFB366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.payment-steps {
    list-style: decimal;
    padding-left: 25px;
    color: #ffffff;
    line-height: 1.8;
}

.payment-steps li {
    margin-bottom: 8px;
    opacity: 0.9;
}

.payment-pix-info-wrap {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.payment-pix-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: 12px;
    margin-bottom: 20px;
}

.payment-pix-info-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.payment-pix-info-text {
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
}

.payment-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.payment-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.payment-feature-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.payment-feature-icon-lock {
    color: #f97316;
}

.payment-feature-icon-check {
    color: #ffffff;
}

.payment-feature-icon-shield {
    color: #3b82f6;
}

.payment-feature-icon-bolt {
    color: #f97316;
}

.payment-feature-text {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.payment-status-section {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.payment-status-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.payment-status-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-status-text {
    color: #ffffff;
    font-size: 14px;
    opacity: 0.8;
}

.payment-crypto-comprovante {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin: 12px 0 16px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.payment-crypto-valor-enviar {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin: 10px 0 4px;
    line-height: 1.5;
}

.payment-crypto-support-wrap {
    text-align: center;
}

.theme-light .payment-crypto-valor-enviar {
    color: #374151;
}

.payment-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FF8C42;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.payment-check-button {
    padding: 15px 30px;
    background: #FF8C42;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.payment-check-button:hover {
    background: #FFB366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

.payment-support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    border: none;
    cursor: pointer;
}

.payment-support-button:hover {
    background: linear-gradient(135deg, #E55A2B 0%, #CC4A1F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.payment-support-button:active {
    transform: translateY(0);
}

.payment-expiry {
    color: #ffffff;
    font-size: 12px;
    opacity: 0.6;
    margin: 0;
}

.payment-error {
    color: #ff6b6b;
    text-align: center;
    padding: 20px;
}

/* Checkout Warning Modal */
.checkout-warning-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    padding: 20px;
    animation: checkoutModalFadeIn 0.3s ease-out;
}

.checkout-warning-modal.checkout-warning-modal-hidden {
    display: none;
}

@keyframes checkoutModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.checkout-warning-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid rgba(255, 140, 66, 0.4);
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 140, 66, 0.15);
    animation: checkoutModalSlideIn 0.35s ease-out;
}

@keyframes checkoutModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.checkout-warning-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: #FF8C42;
}

.checkout-warning-modal-icon svg {
    width: 100%;
    height: 100%;
}

.checkout-warning-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #FF8C42;
    margin: 0 0 16px;
}

.checkout-warning-modal-text {
    font-size: 15px;
    color: #e5e7eb;
    line-height: 1.6;
    margin: 0 0 24px;
    opacity: 0.95;
}

.checkout-warning-modal-btn {
    padding: 14px 36px;
    background: linear-gradient(135deg, #FF8C42 0%, #E55A2B 100%);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.checkout-warning-modal-btn:hover {
    background: linear-gradient(135deg, #FFB366 0%, #FF8C42 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 140, 66, 0.4);
}

/* Payment Error Page Styles */
.payment-error-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 16px;
    text-align: center;
}

.payment-error-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #ffffff;
    font-weight: bold;
    animation: scaleIn 0.5s ease-out;
}

.payment-error-title {
    font-size: 32px;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.payment-error-message {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 40px;
    opacity: 0.9;
}

.payment-error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.payment-error-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.payment-error-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.payment-error-button-secondary {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-error-button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Erro de checkout — vitrine inquilino (alinha ao checkout PIX: fundo + cor de destaque) */
body.tenant-checkout-error {
    background: var(--ce-bg, #fafafa) !important;
    min-height: 100vh;
}

body.tenant-checkout-error .payment-error-container {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

body.tenant-checkout-error .payment-error-icon {
    background: linear-gradient(135deg, var(--ce-accent, #2563eb) 0%, color-mix(in srgb, var(--ce-accent, #2563eb) 75%, #000) 100%);
    color: #ffffff;
}

body.tenant-checkout-error .payment-error-title {
    color: var(--ce-accent, #2563eb);
}

body.tenant-checkout-error .payment-error-message {
    color: #495057;
    opacity: 1;
}

body.tenant-checkout-error .payment-error-actions {
    justify-content: center;
}

body.tenant-checkout-error .payment-error-button-secondary {
    background: var(--ce-accent, #2563eb);
    color: #ffffff;
    border: 1px solid color-mix(in srgb, var(--ce-accent, #2563eb) 88%, #000);
}

body.tenant-checkout-error .payment-error-button-secondary:hover {
    background: color-mix(in srgb, var(--ce-accent, #2563eb) 90%, #000);
    color: #ffffff;
}

html.theme-light body.tenant-checkout-error .header-main .title-link {
    color: var(--ce-accent, #2563eb);
}

/* Recuperar Acesso */
.recuperar-acesso-container {
    text-align: center;
}

.recuperar-loading {
    color: #ffffff;
    padding: 40px 20px;
}

.recuperar-loading p {
    margin: 0;
    opacity: 0.9;
}

.recuperar-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.recuperar-empty-title {
    font-size: 24px;
    color: #FF8C42;
    margin: 0 0 16px;
}

.recuperar-empty-text {
    color: #e5e7eb;
    font-size: 16px;
    margin: 0 0 12px;
    line-height: 1.5;
}

.recuperar-empty-hint {
    color: #b0b5c8;
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.5;
}

.recuperar-payment-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recuperar-payment-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recuperar-grupo-title {
    font-size: 18px;
    color: #FF8C42;
    margin: 0 0 16px;
}

/* Recuperar acesso — --rec-accent / --rec-accent-deep definidos no body via JS */
.recuperar-acesso-page {
    --rec-accent: #FF8C42;
    --rec-accent-deep: #E55A2B;
    box-sizing: border-box;
}

.recuperar-acesso-page .payment-success-icon {
    background: var(--rec-accent);
}

.recuperar-acesso-page .payment-success-title {
    color: var(--rec-accent);
}

.recuperar-acesso-page .payment-success-link-button {
    background: linear-gradient(135deg, var(--rec-accent) 0%, var(--rec-accent-deep) 100%);
}

.recuperar-acesso-page .payment-success-link-button:hover {
    background: linear-gradient(135deg, var(--rec-accent-deep) 0%, var(--rec-accent) 100%);
}

.recuperar-acesso-page .recuperar-grupo-title,
.recuperar-acesso-page .recuperar-empty-title {
    color: var(--rec-accent);
}

.recuperar-acesso-page .header-main .title-link {
    color: var(--rec-accent);
}

.recuperar-acesso-page .payment-support-button {
    background: linear-gradient(135deg, var(--rec-accent) 0%, var(--rec-accent-deep) 100%);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--rec-accent) 35%, transparent);
}

.recuperar-acesso-page .payment-support-button:hover {
    background: linear-gradient(135deg, var(--rec-accent-deep) 0%, var(--rec-accent) 100%);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--rec-accent) 45%, transparent);
}

.recuperar-acesso-page .back-link {
    color: var(--rec-accent);
}

/* Recuperar acesso — layout compacto (lista de acessos visível sem scroll na maioria das telas) */
.recuperar-acesso-page *,
.recuperar-acesso-page *::before,
.recuperar-acesso-page *::after {
    box-sizing: inherit;
}

body.recuperar-acesso-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.recuperar-acesso-page .container {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 12px clamp(16px, 4vw, 32px) 20px;
    max-width: min(1120px, 100%);
    margin: 0 auto;
    width: 100%;
}

.recuperar-acesso-page .container > .header,
.recuperar-acesso-page .container > .payment-success-container,
.recuperar-acesso-page .container > .back-to-store {
    width: 100%;
    max-width: 100%;
}

.recuperar-acesso-page .header {
    margin-bottom: 12px;
    flex-shrink: 0;
    width: 100%;
    text-align: center;
}

.recuperar-acesso-page .header-main {
    justify-content: center;
    width: 100%;
}

.recuperar-acesso-page .payment-success-container.recuperar-acesso-container {
    margin: 0 auto 8px;
    padding: clamp(14px, 2vw, 22px) clamp(14px, 3vw, 28px) clamp(14px, 2vw, 22px);
    flex-shrink: 0;
    max-width: 100%;
    width: 100%;
}

.recuperar-acesso-page .recuperar-loading {
    padding: 20px 14px;
}

.recuperar-acesso-page .payment-success-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
    margin: 0 auto 8px;
}

.recuperar-acesso-page .payment-success-title {
    font-size: 1.2rem;
    margin-bottom: 4px;
    line-height: 1.2;
}

.recuperar-acesso-page .payment-success-message {
    font-size: 0.875rem;
    margin-bottom: 10px;
    line-height: 1.35;
}

.recuperar-acesso-page .payment-success-link-section {
    margin-top: 0;
}

/* Botões centralizados; poucos itens não ficam colados à esquerda */
.recuperar-acesso-page #recuperar-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.recuperar-acesso-page #recuperar-links > .recuperar-payment-section {
    display: contents;
}

.recuperar-acesso-page #recuperar-links .payment-success-links-container {
    display: contents;
}

.recuperar-acesso-page #recuperar-links .payment-success-link-item {
    flex: 0 1 auto;
    width: auto;
    min-width: min(100%, 200px);
    max-width: min(100%, 320px);
}

.recuperar-acesso-page .recuperar-payment-section {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recuperar-acesso-page .payment-success-links-container {
    gap: 6px;
    margin-bottom: 0;
}

.recuperar-acesso-page .payment-success-link-button {
    padding: 9px 12px;
    font-size: 0.9rem;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--rec-accent, #ff8c42) 28%, transparent);
}

.recuperar-acesso-page .payment-success-link-button:hover {
    box-shadow: 0 4px 14px color-mix(in srgb, var(--rec-accent, #ff8c42) 38%, transparent);
}

.recuperar-acesso-page .back-to-store {
    margin-top: 4px;
    margin-bottom: 0;
    text-align: center;
    flex-shrink: 0;
}

.recuperar-acesso-page .recuperar-grupo-title {
    font-size: 0.95rem;
    margin: 0 0 6px;
}

@media (max-width: 768px) {
    .payment-error-container {
        padding: 30px 20px;
        margin: 30px auto;
    }

    .payment-error-icon {
        width: 80px;
        height: 80px;
        font-size: 50px;
    }

    .payment-error-title {
        font-size: 24px;
    }

    .payment-error-actions {
        flex-direction: column;
    }

    .payment-error-button,
    .payment-error-button-secondary {
        width: 100%;
    }
}

/* Payment Success Styles */
.payment-success-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 16px;
    text-align: center;
}

.payment-success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: #FF8C42;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #ffffff;
    font-weight: bold;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.payment-success-title {
    font-size: 32px;
    font-weight: 700;
    color: #FF8C42;
    margin-bottom: 15px;
}

.payment-success-message {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 40px;
    opacity: 0.9;
}

.payment-success-link-section {
    margin-top: 40px;
}

.payment-success-link-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.payment-success-link-container {
    margin-bottom: 15px;
}

.payment-success-links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.payment-success-link-item {
    width: 100%;
}

.payment-success-link-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.payment-success-link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
}

.payment-success-link-note {
    font-size: 14px;
    color: #ffffff;
    opacity: 0.7;
    margin-top: 10px;
}

.payment-success-waiting {
    font-size: 16px;
    color: #ffffff;
    opacity: 0.8;
    margin-bottom: 20px;
}

.payment-success-check-button {
    padding: 15px 30px;
    background: #FF8C42;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-success-check-button:hover {
    background: #FFB366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .payment-container {
        padding: 20px;
        margin: 20px auto;
    }

    .payment-title {
        font-size: var(--text-2xl);
    }

    .payment-qr-code {
        max-width: 250px;
    }

    .payment-features-grid {
        grid-template-columns: 1fr;
    }

    .payment-pix-info-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .payment-pix-code-input {
        font-size: 10px;
    }

    .payment-success-container {
        padding: 30px 20px;
        margin: 30px auto;
    }

    .payment-success-icon {
        width: 80px;
        height: 80px;
        font-size: 50px;
    }

    .payment-success-title {
        font-size: 24px;
    }
}

/* Upsell Modal */
.upsell-modal {
    display: flex;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

/* Fundo do overlay (fullscreen): ícones repetidos + vinheta — não só cinza */
.upsell-modal--theme-privacy,
.upsell-modal--theme-onlyfans,
.upsell-modal--theme-telegram,
.upsell-modal--theme-pemasi {
    background-color: transparent;
}

.upsell-modal--theme-privacy::before,
.upsell-modal--theme-onlyfans::before,
.upsell-modal--theme-telegram::before,
.upsell-modal--theme-pemasi::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-repeat: repeat;
}

.upsell-modal--theme-privacy::after,
.upsell-modal--theme-onlyfans::after,
.upsell-modal--theme-telegram::after,
.upsell-modal--theme-pemasi::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.upsell-modal--theme-privacy > .upsell-modal-content,
.upsell-modal--theme-onlyfans > .upsell-modal-content,
.upsell-modal--theme-telegram > .upsell-modal-content,
.upsell-modal--theme-pemasi > .upsell-modal-content {
    position: relative;
    z-index: 1;
}

.upsell-modal--theme-privacy::before {
    background-image: url("../images/privacy_logo.png"), url("../images/privacy_logo.png");
    background-size: 72px 72px, 112px 112px;
    background-position: 0 0, 48px 58px;
    opacity: 0.4;
}

.upsell-modal--theme-privacy::after {
    background: radial-gradient(
            ellipse 130% 95% at 50% 32%,
            rgba(124, 45, 18, 0.35) 0%,
            rgba(42, 18, 10, 0.82) 52%,
            rgba(15, 8, 6, 0.93) 100%
        ),
        linear-gradient(168deg, rgba(194, 65, 12, 0.28) 0%, rgba(28, 10, 6, 0.9) 100%);
}

.upsell-modal--theme-onlyfans::before {
    background-image:
        url("https://public-blob.squarecloud.dev/df36eceac2eddc529bdae87b506f649d1d0326e5/static_images/onlyfans_logo_azul.png"),
        url("https://public-blob.squarecloud.dev/df36eceac2eddc529bdae87b506f649d1d0326e5/static_images/onlyfans_logo_azul.png");
    background-size: 56px 56px, 92px 92px;
    background-position: 0 0, 38px 46px;
    opacity: 0.38;
}

.upsell-modal--theme-onlyfans::after {
    background: linear-gradient(
        165deg,
        rgba(15, 23, 42, 0.45) 0%,
        rgba(12, 74, 110, 0.62) 48%,
        rgba(8, 47, 73, 0.88) 100%
    );
}

.upsell-modal--theme-telegram::before {
    background-image: url("../images/telegram.png"), url("../images/telegram.png");
    background-size: 52px 52px, 88px 88px;
    background-position: 0 0, 36px 44px;
    opacity: 0.36;
}

.upsell-modal--theme-telegram::after {
    background: linear-gradient(
        162deg,
        rgba(13, 71, 161, 0.42) 0%,
        rgba(8, 47, 98, 0.78) 55%,
        rgba(6, 28, 58, 0.92) 100%
    );
}

.upsell-modal--theme-pemasi::before {
    background-image: url("../images/pemasi_logo.webp"), url("../images/pemasi_logo.webp");
    background-size: 68px 68px, 108px 108px;
    background-position: 0 0, 46px 54px;
    opacity: 0.18;
    mix-blend-mode: overlay;
}

.upsell-modal--theme-pemasi::after {
    background: radial-gradient(
            ellipse 125% 95% at 50% 30%,
            rgba(125, 211, 252, 0.22) 0%,
            rgba(30, 58, 138, 0.5) 42%,
            rgba(15, 23, 42, 0.88) 100%
        ),
        linear-gradient(
            168deg,
            rgba(15, 23, 42, 0.78) 0%,
            rgba(30, 64, 175, 0.35) 48%,
            rgba(15, 23, 42, 0.9) 100%
        );
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.upsell-modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1f3a 0%, #2a2f4a 100%);
    margin: auto;
    padding: 30px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    min-width: 0;
    max-height: min(90vh, 720px);
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s ease;
    isolation: isolate;
}

/* Padrão de ícones no fundo do cartão — Privacy / OnlyFans / Telegram / Pemasi */
.upsell-modal--theme-privacy .upsell-modal-content::before,
.upsell-modal--theme-onlyfans .upsell-modal-content::before,
.upsell-modal--theme-telegram .upsell-modal-content::before,
.upsell-modal--theme-pemasi .upsell-modal-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
    background-repeat: repeat;
}

.upsell-modal--theme-privacy .upsell-modal-content > *,
.upsell-modal--theme-onlyfans .upsell-modal-content > *,
.upsell-modal--theme-telegram .upsell-modal-content > *,
.upsell-modal--theme-pemasi .upsell-modal-content > * {
    position: relative;
    z-index: 1;
}

.upsell-modal--theme-privacy .upsell-modal-content {
    background: linear-gradient(155deg, #fffefb 0%, #fff7ed 40%, #ffedd5 100%);
    border-color: rgba(234, 88, 12, 0.38);
    box-shadow:
        0 14px 44px rgba(234, 88, 12, 0.18),
        0 2px 0 rgba(255, 255, 255, 0.85) inset;
}

.upsell-modal--theme-privacy .upsell-modal-content::before {
    background-image: url("../images/privacy_logo.png"), url("../images/privacy_logo.png");
    background-size: 48px 48px, 76px 76px;
    background-position: 0 0, 34px 42px;
    opacity: 0.22;
}

.upsell-modal--theme-onlyfans .upsell-modal-content {
    background: linear-gradient(162deg, #ffffff 0%, #f0f9ff 42%, #e0f2fe 100%);
    border-color: rgba(14, 165, 233, 0.42);
    box-shadow:
        0 14px 44px rgba(14, 165, 233, 0.16),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.upsell-modal--theme-onlyfans .upsell-modal-content::before {
    background-image:
        url("https://public-blob.squarecloud.dev/df36eceac2eddc529bdae87b506f649d1d0326e5/static_images/onlyfans_logo_azul.png"),
        url("https://public-blob.squarecloud.dev/df36eceac2eddc529bdae87b506f649d1d0326e5/static_images/onlyfans_logo_azul.png");
    background-size: 44px 44px, 72px 72px;
    background-position: 0 0, 30px 38px;
    opacity: 0.2;
}

.upsell-modal--theme-telegram .upsell-modal-content {
    background: linear-gradient(165deg, #f8fcff 0%, #e3f2fd 48%, #bbdefb 100%);
    border-color: rgba(3, 155, 229, 0.4);
    box-shadow:
        0 14px 40px rgba(3, 155, 229, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.upsell-modal--theme-telegram .upsell-modal-content::before {
    background-image: url("../images/telegram.png"), url("../images/telegram.png");
    background-size: 42px 42px, 68px 68px;
    background-position: 0 0, 32px 40px;
    opacity: 0.2;
}

.upsell-modal--theme-pemasi .upsell-modal-content {
    padding: 28px 26px 26px;
    background: linear-gradient(168deg, #ffffff 0%, #f8fafc 38%, #f0f9ff 100%);
    border: 1px solid rgba(14, 165, 233, 0.38);
    border-radius: 22px;
    box-shadow:
        0 4px 8px rgba(14, 165, 233, 0.08),
        0 22px 48px rgba(8, 47, 73, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.upsell-modal--theme-pemasi .upsell-modal-content::before {
    background-image: url("../images/pemasi_logo.webp"), url("../images/pemasi_logo.webp");
    background-size: 52px 52px, 82px 82px;
    background-position: 0 0, 38px 46px;
    opacity: 0.06;
    mix-blend-mode: multiply;
}

/* Upsell “páginas” (tema Pemasi): cartão branco + acentos azuis */
.upsell-modal--theme-pemasi .upsell-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-bottom: 0.85rem;
    color: #0369a1;
    text-shadow: none;
}

.upsell-modal--theme-pemasi .upsell-text,
.upsell-modal--theme-pemasi .upsell-body-block {
    color: #475569;
}

.upsell-modal--theme-pemasi .upsell-body-block {
    margin-bottom: 1rem;
    font-size: 0.98rem;
    line-height: 1.58;
}

.upsell-modal--theme-pemasi .upsell-text {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.upsell-modal--theme-pemasi .upsell-text strong {
    color: #0284c7;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.upsell-modal--theme-pemasi .upsell-image {
    border-radius: 16px;
    border: 1px solid rgba(14, 165, 233, 0.28);
    box-shadow:
        0 10px 28px rgba(14, 165, 233, 0.12),
        0 2px 8px rgba(15, 23, 42, 0.06);
    margin-bottom: 1.15rem;
}

.upsell-modal--theme-pemasi .upsell-buttons {
    margin-top: 1.35rem;
    gap: 12px;
}

.upsell-modal--theme-pemasi .upsell-button {
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 15px 22px;
    text-transform: none;
}

.upsell-modal--theme-pemasi .upsell-button-yes {
    background: linear-gradient(145deg, #38bdf8 0%, #0ea5e9 45%, #0284c7 100%);
    color: #ffffff;
    border: 1px solid rgba(125, 211, 252, 0.55);
    box-shadow:
        0 4px 18px rgba(14, 165, 233, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.upsell-modal--theme-pemasi .upsell-button-yes:hover {
    background: linear-gradient(145deg, #7dd3fc 0%, #38bdf8 40%, #0369a1 100%);
    transform: translateY(-2px);
    box-shadow:
        0 8px 26px rgba(14, 165, 233, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.upsell-modal--theme-pemasi .upsell-button-no {
    background: #ffffff;
    color: #0369a1;
    border: 1px solid rgba(14, 165, 233, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.upsell-modal--theme-pemasi .upsell-button-no:hover {
    background: #f0f9ff;
    border-color: #0ea5e9;
    color: #0c4a6e;
}

/* Tipografia e botões alinhados ao funil (cartões claros) */
.upsell-modal--theme-privacy .upsell-title {
    color: #c2410c;
    text-shadow: none;
}

.upsell-modal--theme-privacy .upsell-text,
.upsell-modal--theme-privacy .upsell-body-block {
    color: #431407;
}

.upsell-modal--theme-privacy .upsell-text strong {
    color: #ea580c;
}

.upsell-modal--theme-privacy .upsell-button-no {
    background: rgba(255, 255, 255, 0.96);
    color: #9a3412;
    border: 2px solid rgba(234, 88, 12, 0.55);
}

.upsell-modal--theme-privacy .upsell-button-no:hover {
    background: #fff7ed;
    color: #c2410c;
    border-color: #ea580c;
}

.upsell-modal--theme-onlyfans .upsell-title {
    color: #0369a1;
    text-shadow: none;
}

.upsell-modal--theme-onlyfans .upsell-text,
.upsell-modal--theme-onlyfans .upsell-body-block {
    color: #0c4a6e;
}

.upsell-modal--theme-onlyfans .upsell-text strong {
    color: #0284c7;
}

.upsell-modal--theme-onlyfans .upsell-button-yes {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 55%, #0369a1 100%);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
}

.upsell-modal--theme-onlyfans .upsell-button-yes:hover {
    background: linear-gradient(135deg, #5ecfff 0%, #0ea5e9 50%, #0284c7 100%);
    box-shadow: 0 8px 22px rgba(14, 165, 233, 0.45);
}

.upsell-modal--theme-onlyfans .upsell-button-no {
    background: rgba(255, 255, 255, 0.65);
    color: #0369a1;
    border-color: rgba(14, 165, 233, 0.45);
}

.upsell-modal--theme-telegram .upsell-title {
    color: #0277bd;
    text-shadow: none;
}

.upsell-modal--theme-telegram .upsell-text,
.upsell-modal--theme-telegram .upsell-body-block {
    color: #1565c0;
}

.upsell-modal--theme-telegram .upsell-text strong {
    color: #01579b;
}

.upsell-modal--theme-telegram .upsell-button-yes {
    background: linear-gradient(135deg, #29b6f6 0%, #039be5 55%, #0277bd 100%);
    box-shadow: 0 6px 18px rgba(3, 155, 229, 0.35);
}

.upsell-modal--theme-telegram .upsell-button-yes:hover {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 50%, #039be5 100%);
}

.upsell-modal--theme-telegram .upsell-button-no {
    background: rgba(255, 255, 255, 0.75);
    color: #01579b;
    border-color: rgba(3, 155, 229, 0.4);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.upsell-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.upsell-body-block {
    white-space: pre-wrap;
    word-break: break-word;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.upsell-message {
    color: #ffffff;
    line-height: 1.6;
}

.upsell-title {
    font-size: 28px;
    font-weight: 800;
    color: #FF6B35;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 75, 75, 0.5);
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.upsell-text {
    font-size: 16px;
    margin-bottom: 15px;
    color: #e2e8f0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.upsell-text strong {
    color: #FF8C42;
    font-weight: 700;
}

.upsell-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.upsell-features li {
    padding: 10px 0;
    font-size: 15px;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.upsell-features li:last-child {
    border-bottom: none;
}

.upsell-features li strong {
    color: #FF8C42;
}

.upsell-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.upsell-button {
    flex: 1;
    min-width: 200px;
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.upsell-button-yes {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
}

.upsell-button-yes:hover {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.6);
}

.upsell-button-no {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.upsell-button-no:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .upsell-modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .upsell-title {
        font-size: 22px;
    }
    
    .upsell-text {
        font-size: 14px;
    }
    
    .upsell-buttons {
        flex-direction: column;
    }
    
    .upsell-button {
        width: 100%;
        min-width: auto;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4),
                0 0 0 0 rgba(255, 107, 53, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    z-index: 1002;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.6),
                0 0 0 8px rgba(255, 107, 53, 0.2);
    transform: translateY(-4px) scale(1.05);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5),
                0 0 0 4px rgba(255, 107, 53, 0.3);
}

.scroll-to-top-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover .scroll-to-top-icon {
    transform: translateY(-2px);
}

.scroll-to-top:active .scroll-to-top-icon {
    transform: translateY(0);
}

/* Animação de pulso sutil */
@keyframes pulse-scroll {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4),
                    0 0 0 0 rgba(255, 107, 53, 0.5);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5),
                    0 0 0 4px rgba(255, 107, 53, 0.2);
    }
}

.scroll-to-top.show {
    animation: pulse-scroll 2s ease-in-out infinite;
}

/* Responsivo */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 15px;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
    }
    
    .scroll-to-top-icon {
        width: 22px;
        height: 22px;
    }
    
    .scroll-to-top:hover {
        transform: translateY(-3px) scale(1.03);
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 70px;
        right: 12px;
    }
    
    .scroll-to-top-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Remover hover em mobile (touch) */
    .scroll-to-top:active {
        background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
        transform: translateY(-1px) scale(0.98);
    }
}

/* Banner de Convite */
.invite-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1f3a 0%, #2a2f4a 100%);
    border-top: 2px solid #FF6B35;
    box-shadow: 0 -4px 30px rgba(255, 107, 53, 0.3);
    z-index: 999;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: slideUpBanner 0.5s ease-out;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.invite-banner-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.invite-banner-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.invite-banner-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.invite-banner-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 250px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.invite-banner-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
}

.invite-banner-icon svg {
    width: 28px;
    height: 28px;
}

.invite-banner-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.invite-banner-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.invite-banner-subtitle {
    font-size: 14px;
    color: #b0b5c8;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.invite-banner-images {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 400px;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
}

.invite-banner-images a {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Limitar tamanho máximo do container de imagens no mobile */
@media (max-width: 768px) {
    .invite-banner-images {
        max-width: calc(100% - 20px);
        width: auto;
    }
}

.invite-banner-img-link {
    display: inline-block;
    text-decoration: none;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.invite-banner-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    display: block;
    border: none;
    padding: 0;
    margin: 0;
}


/* Regras específicas para mobile - sobrescrever qualquer outro estilo */
@media (max-width: 768px) {
    .invite-banner-img-link {
        max-width: 35px !important;
        max-height: 35px !important;
        width: 35px !important;
        height: 35px !important;
        min-width: 35px !important;
        min-height: 35px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .invite-banner-img {
        width: 35px !important;
        height: 35px !important;
        max-width: 35px !important;
        max-height: 35px !important;
        min-width: 35px !important;
        min-height: 35px !important;
        border-radius: 50% !important;
    }
}

@media (max-width: 480px) {
    .invite-banner-img-link {
        max-width: 30px !important;
        max-height: 30px !important;
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .invite-banner-img {
        width: 30px !important;
        height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        border-radius: 50% !important;
    }
}

/* Celulares muito pequenos */
@media (max-width: 360px) {
    .collection-header {
        padding: 25px 10px;
        min-height: 320px;
    }

    .collection-hero {
        padding: 0 2%;
    }

    .collection-hero-tag {
        font-size: 9px;
        padding: 4px 10px;
    }

    .collection-hero-title {
        font-size: 24px;
        letter-spacing: 0.08em;
    }

    .collection-hero-subtitle {
        font-size: 14px;
    }

    .collection-hero-offer {
        padding: 10px 14px;
    }

    .collection-hero-offer .collection-hero-text {
        font-size: 14px;
    }

    .collection-hero-footnote {
        font-size: 10px;
    }

    .collection-hero-modelo {
        max-width: 18%;
        opacity: 0.3;
    }

    .invite-banner-img-link {
        max-width: 28px !important;
        max-height: 28px !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .invite-banner-img {
        width: 28px !important;
        height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        border-radius: 50% !important;
    }
}

.invite-banner-button {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.invite-banner-button:hover {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
}


/* Responsivo para o banner */
@media (max-width: 768px) {
    .invite-banner {
        padding: 10px 12px;
        left: 0;
        right: 0;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .invite-banner-content {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .invite-banner-left {
        width: 100%;
        justify-content: flex-start;
        min-width: 0;
        gap: 8px;
        flex-wrap: nowrap;
        max-width: 100%;
        align-items: center;
    }
    
    .invite-banner-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
    
    .invite-banner-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .invite-banner-text {
        flex: 1;
        min-width: 0;
        gap: 2px;
        overflow: hidden;
    }
    
    .invite-banner-images {
        width: 100%;
        gap: 4px;
        max-width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        overflow: hidden;
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    .invite-banner-img {
        width: 35px;
        height: 35px;
    }
    
    .invite-banner-button {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .invite-banner-title {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .invite-banner-subtitle {
        font-size: 10px;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .invite-banner-close {
        width: 26px;
        height: 26px;
        font-size: 18px;
        top: 6px;
        right: 8px;
    }
    
    .scroll-to-top {
        bottom: 100px; /* Ajustar para não sobrepor o banner em mobile */
    }
}

@media (max-width: 480px) {
    .invite-banner {
        padding: 8px 10px;
        max-width: 100vw;
    }
    
    .invite-banner-content {
        gap: 8px;
    }
    
    .invite-banner-left {
        gap: 6px;
    }
    
    .invite-banner-icon {
        width: 32px;
        height: 32px;
    }
    
    .invite-banner-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .invite-banner-text {
        gap: 1px;
    }
    
    .invite-banner-title {
        font-size: 11px;
        line-height: 1.15;
    }
    
    .invite-banner-subtitle {
        font-size: 9px;
        line-height: 1.15;
    }
    
    .invite-banner-img {
        width: 30px;
        height: 30px;
    }
    
    .invite-banner-images {
        gap: 3px;
        max-width: 100%;
    }
    
    .invite-banner-button {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .invite-banner-close {
        width: 24px;
        height: 24px;
        font-size: 16px;
        top: 5px;
        right: 6px;
    }
    
    .scroll-to-top {
        bottom: 65px;
    }
}

/* Ajustes adicionais para telas muito pequenas */
@media (max-width: 360px) {
    .invite-banner {
        padding: 6px 8px;
    }
    
    .invite-banner-icon {
        width: 28px;
        height: 28px;
    }
    
    .invite-banner-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .invite-banner-title {
        font-size: 10px;
    }
    
    .invite-banner-subtitle {
        font-size: 8px;
    }
    
    .invite-banner-img {
        width: 28px;
        height: 28px;
    }
    
    .invite-banner-button {
        padding: 7px 10px;
        font-size: 11px;
    }
}

/* Rodapé */
.site-footer {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    margin-top: 40px;
    padding: 16px 0;
    color: #b0b5c8;
    font-size: 14px;
    box-sizing: border-box;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-right: 80px; /* espaço para não ficar embaixo do botão de subir */
}

.footer-left,
.footer-center,
.footer-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-left {
    justify-content: flex-start;
}

.footer-center {
    justify-content: center;
}

.footer-right {
    justify-content: flex-end;
}

/* Legibilidade do copyright em qualquer cor de rodapé (tema claro/escuro e página pública) */
.footer-text-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.92em;
    line-height: 1.35;
    color: #f1f3f5;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.footer-link:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.7);
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
}

.footer-link-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

/* Toque estável no WebView do Telegram (data-href + JS, como os cards na index) */
.telegram-touch-link {
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
    cursor: pointer;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
}
.footer-link.telegram-touch-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.5), 0 4px 14px rgba(255, 107, 53, 0.45);
}
.telegram-touch-link:not(.footer-link):not(.payment-error-button):focus-visible {
    outline: 2px solid rgba(255, 107, 53, 0.7);
    outline-offset: 3px;
    border-radius: 4px;
}
.payment-error-button.telegram-touch-link:focus-visible {
    outline: 2px solid rgba(255, 107, 53, 0.85);
    outline-offset: 2px;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 6px;
    font-weight: 400;
}

.footer-lang-block {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.footer-lang-label {
    font-weight: 500;
    color: #b0b5c8;
    margin-right: 8px;
    white-space: nowrap;
}

.footer-lang-dropdown {
    position: relative;
    display: inline-block;
}

.footer-lang-select {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(40, 42, 52, 0.9);
    color: #b0b5c8;
    border: 1px solid rgba(255, 107, 53, 0.6);
    border-radius: 8px;
    padding: 6px 10px 6px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    min-width: 140px;
    font-family: inherit;
}

.footer-lang-select:hover,
.footer-lang-select:focus {
    border-color: rgba(255, 107, 53, 0.9);
    color: #ffffff;
    outline: none;
}

.footer-lang-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    text-align: left;
}

.footer-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.footer-lang-options .footer-flag {
    margin-right: 8px;
    vertical-align: middle;
}

.footer-lang-chevron {
    font-size: 10px;
    opacity: 0.8;
}

.footer-lang-options {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin: 0 0 6px 0;
    padding: 4px 0;
    list-style: none;
    background: rgba(30, 32, 40, 0.98);
    border: 1px solid rgba(255, 107, 53, 0.5);
    border-radius: 8px;
    min-width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 100;
    display: none;
}

.footer-lang-options.open {
    display: block;
}

.footer-lang-options li {
    padding: 8px 14px;
    cursor: pointer;
    color: #b0b5c8;
    font-size: 14px;
    transition: background 0.15s, color 0.15s;
}

.footer-lang-options li:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

@media (max-width: 768px) {
    .site-footer {
        align-items: center;
        gap: 8px;
        padding: 14px 16px 22px;
        padding-bottom: max(22px, env(safe-area-inset-bottom, 0px));
    }

    /*
     * Copyright centrado; linha seguinte: Recuperar + Suporte agrupados ao centro
     * (colunas 1fr | auto | auto | 1fr — margens iguais empurram o par para o meio).
     */
    .footer-inner {
        display: grid;
        grid-template-columns: 1fr auto auto 1fr;
        column-gap: 10px;
        row-gap: 12px;
        align-items: center;
        padding-right: 0;
        width: 100%;
    }

    .footer-left {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
        width: 100%;
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .footer-center {
        grid-column: 2;
        grid-row: 2;
        width: auto;
        min-width: 0;
        justify-self: end;
        justify-content: center;
    }

    .footer-right {
        grid-column: 3;
        grid-row: 2;
        width: auto;
        min-width: 0;
        justify-self: start;
        justify-content: center;
    }

    .tenant-promo-ticker__sep {
        display: none !important;
    }

    .tenant-promo-ticker__viewport {
        padding-bottom: max(20px, calc(12px + env(safe-area-inset-bottom, 0px)));
    }
}

/* Footer em celular estreito (ex.: 390x844) – evita overflow e sobreposição do botão subir */
@media (max-width: 430px) {
    .site-footer {
        padding: 12px 12px 24px 12px;
        padding-right: 60px; /* espaço para o botão scroll-to-top não cobrir idioma/contato */
        padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .footer-inner {
        width: 100%;
        min-width: 0;
        column-gap: 8px;
        row-gap: 10px;
    }

    .footer-left {
        width: 100%;
        min-width: 0;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-center {
        min-width: 0;
    }

    .footer-link {
        padding: 6px 12px;
        font-size: 13px;
    }

    .footer-lang-select {
        min-width: 0;
        max-width: 100%;
        padding: 6px 8px 6px 10px;
        font-size: 13px;
    }

    .footer-lang-current .footer-lang-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 90px;
    }

    .footer-right {
        min-width: 0;
    }
}

/* Notificações VIP */
.vip-notifications-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 16px;
    pointer-events: none;
    max-width: 420px;
}

.vip-notification {
    background: rgba(20, 20, 20, 0.95);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.3s ease-out;
    pointer-events: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    user-select: none;
    z-index: 1003;
}

/* Prévia / assistente de página Pemasi: só exemplo visual, sem clique */
.vip-notification.vip-notification--inert {
    pointer-events: none !important;
    cursor: default !important;
}

.vip-notification-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    pointer-events: auto;
}

.vip-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.vip-notification-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.vip-notification-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.vip-notification-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Quando tem imagem, remover background gradiente */
.vip-notification-icon.with-image {
    background: transparent;
    padding: 0;
}

.vip-notification-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
    min-width: 0;
    pointer-events: none;
}

.vip-notification-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 2px;
}

.vip-notification-message {
    color: #b0b5c8;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Responsivo para notificações */
@media (max-width: 768px) {
    .vip-notifications-container {
        bottom: 100px; /* Ajustar para não sobrepor o banner */
        left: 15px;
        max-width: calc(100% - 30px);
    }
    
    .vip-notification {
        border-radius: 12px;
        padding: 16px 18px;
        gap: 14px;
        min-width: 280px;
        max-width: calc(100% - 40px);
    }
    
    .vip-notification-icon {
        width: 44px;
        height: 44px;
    }
    
    .vip-notification-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .vip-notification-icon-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .vip-notification-text {
        gap: 3px;
    }
    
    .vip-notification-name {
        font-size: 14px;
    }
    
    .vip-notification-message {
        font-size: 12px;
    }
    
    .vip-notification-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .vip-notifications-container {
        bottom: 90px;
        left: 10px;
        max-width: calc(100% - 20px);
        gap: 10px;
    }
    
    .vip-notification {
        padding: 14px 16px;
        gap: 12px;
        min-width: 260px;
        max-width: calc(100% - 20px);
    }
    
    .vip-notification-icon {
        width: 40px;
        height: 40px;
    }
    
    .vip-notification-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .vip-notification-icon-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .vip-notification-text {
        font-size: 12px;
        gap: 2px;
    }
    
    .vip-notification-name {
        font-weight: 600;
        font-size: 13px;
    }
    
    .vip-notification-message {
        font-size: 11px;
    }
}

/* ========== Tema claro (light theme) – padrão é dark ========== */
.theme-light body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #1a1a1a;
}
.theme-light .site-footer {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f5 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #495057;
}
.theme-light .footer-text-chip {
    color: #212529;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.theme-light .footer-lang-label,
.theme-light .footer-sep {
    color: #495057;
}
.theme-light .footer-link {
    color: #fff;
}
.theme-light .footer-lang-select {
    background: rgba(255, 255, 255, 0.95);
    color: #495057;
    border-color: rgba(255, 107, 53, 0.7);
}
.theme-light .footer-left {
    color: #495057;
}
.theme-light .header {
    background: transparent;
}
.theme-light .title-link {
    color: #1a1a1a;
}
.theme-light .header-tagline-text,
.theme-light .tagline-text {
    color: #495057;
}
.theme-light .header-buying-now {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    color: #fff;
}
.theme-light .product-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}
.theme-light .product-card:hover {
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.theme-light .product-title,
.theme-light .product-card .product-name {
    color: #1a1a1a;
}
.theme-light .product-card .product-description {
    color: #495057;
}
/* Página inicial (collection): hero e cards */
.theme-light .collection-header {
    background: radial-gradient(circle at top center, rgba(255, 140, 66, 0.12) 0%, rgba(248, 249, 250, 0.98) 45%, #f1f3f5 100%);
    border-color: rgba(255, 107, 53, 0.25);
}
.theme-light .collection-hero-tag {
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.35));
    border-color: rgba(255, 107, 53, 0.6);
    color: #c2410c;
}
.theme-light .collection-hero-title {
    color: #E55A2B;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.theme-light .collection-hero-subtitle {
    color: #1a1a1a;
}
.theme-light .collection-hero-text {
    color: #495057;
}
.theme-light .collection-hero-text .strong {
    color: #E55A2B;
}
.theme-light .collection-hero-text .censored {
    color: #E55A2B;
    text-shadow: none;
}
.theme-light .collection-hero-offer {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.theme-light .collection-hero-offer:hover {
    box-shadow: 0 8px 28px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.6);
}
.theme-light .collection-hero-offer .collection-hero-text {
    color: #1a1a1a;
}
.theme-light .collection-hero-footnote {
    color: #495057;
}
.theme-light .collection-pricing .pricing-item {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
.theme-light .pricing-label {
    color: #495057;
}
.theme-light .pricing-value {
    color: #E55A2B;
}
.theme-light .collection-details-button {
    background: rgba(255, 255, 255, 0.9);
    color: #E55A2B;
    border: 1px solid rgba(255, 107, 53, 0.4);
}
.theme-light .buying-now-indicator {
    background: #22c55e;
}
.theme-light .buying-now-number,
.theme-light .buying-now-text {
    color: #fff;
}
.theme-light .select-quality-title {
    color: #E55A2B;
}
.theme-light .pricing-plan-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
}
.theme-light .pricing-plan-card:hover {
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.theme-light .pricing-plan-card-featured {
    border-color: #FF6B35;
    background: rgba(255, 255, 255, 0.98);
}
.theme-light .plan-title,
.theme-light .plan-details,
.theme-light .plan-price,
.theme-light .plan-feature {
    color: #1a1a1a;
}
.theme-light .plan-price-original {
    display: none !important;
}
.theme-light .paypal-section {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.theme-light .paypal-section-title {
    color: #E55A2B;
}
.theme-light .paypal-section-desc {
    color: #495057;
}

.theme-light .crypto-wallet-block-title {
    color: #1a1a1a;
    border-bottom-color: rgba(0, 0, 0, 0.12);
}
.theme-light .paypal-section-buy {
    background: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}
.theme-light .paypal-section-buy:hover {
    background: rgba(255, 107, 53, 0.2);
    color: #E55A2B;
}
.theme-light .secure-payment-section {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.theme-light .secure-payment-title {
    color: var(--tenant-accent, #E55A2B);
}
.theme-light .secure-payment-text {
    color: #495057;
}
.theme-light .scroll-to-top {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    color: #fff;
}
.theme-light .scroll-to-top:hover {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
}
.theme-light .scroll-to-top .scroll-to-top-icon {
    color: #fff;
}
.theme-light .back-link {
    color: #E55A2B;
}
.theme-light .payment-container {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
}
.theme-light .payment-product-section,
.theme-light .payment-qr-section,
.theme-light .payment-pix-code-section,
.theme-light .payment-status-section {
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
}
.theme-light .payment-title,
.theme-light .payment-product-name {
    color: #E55A2B;
}
.theme-light .payment-product-plan,
.theme-light .payment-qr-instruction {
    color: #495057;
}
.theme-light .payment-price-label,
.theme-light .payment-instruction {
    color: #495057;
}
.theme-light .payment-price-value {
    color: #1a1a1a;
}
.theme-light .payment-price-section {
    border-top-color: rgba(0, 0, 0, 0.08);
}
.theme-light .vip-notification {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}
.theme-light .vip-notification-name {
    color: #1a1a1a;
}
.theme-light .vip-notification-message {
    color: #495057;
}
.theme-light .vip-notification-text {
    color: #1a1a1a;
}
.theme-light .payment-currency-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #495057;
    border-color: rgba(0, 0, 0, 0.15);
}
.theme-light .payment-currency-btn:hover,
.theme-light .payment-currency-btn-active {
    border-color: #FF8C42;
    color: #E55A2B;
    background: rgba(255, 107, 53, 0.1);
}
.theme-light .footer-lang-options {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}
.theme-light .footer-lang-options li:hover {
    background: rgba(255, 107, 53, 0.1);
}
.theme-light .footer-lang-text {
    color: #495057;
}
.theme-light .footer-lang-current {
    color: inherit;
}
.theme-light .payment-status-title,
.theme-light .payment-status-text {
    color: #495057;
}

.theme-light .payment-crypto-comprovante {
    color: #495057;
}

.theme-light .payment-expiry {
    color: #495057;
}
.theme-light .payment-qr-title,
.theme-light .payment-pix-code-title {
    color: #1a1a1a;
}
.theme-light .payment-steps li {
    color: #495057;
}
.theme-light .payment-pix-info-wrap {
    border-top-color: rgba(0, 0, 0, 0.08);
}
.theme-light .payment-pix-info-text {
    color: #495057;
}
.theme-light .payment-feature-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.theme-light .payment-feature-text {
    color: #495057;
}
.theme-light .payment-pix-code-input {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.12);
}
.theme-light .payment-qr-code-container {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.theme-light .payment-check-button {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    color: #fff;
}
.theme-light .payment-support-button {
    color: #fff;
}
.theme-light .payment-copy-button {
    background: #FF6B35;
    color: #fff;
}
.theme-light .payment-copy-button:hover {
    background: #E55A2B;
}
.theme-light .invite-banner {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #fff;
}
/* Recuperar Acesso - tema claro: card claro em vez de escuro */
.theme-light .recuperar-acesso-container.payment-success-container,
.theme-light .payment-success-container {
    background: #ffffff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.theme-light .recuperar-loading {
    color: #1a1a1a;
}
.theme-light .recuperar-loading p {
    color: #495057;
}
.theme-light .recuperar-empty-title {
    color: #E55A2B;
}
.theme-light .recuperar-empty-text {
    color: #374151;
}
.theme-light .recuperar-empty-hint {
    color: #6b7280;
}
.theme-light .recuperar-payment-section {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
.theme-light .recuperar-grupo-title {
    color: #E55A2B;
}
.theme-light .recuperar-acesso-title,
.theme-light .recuperar-acesso-text {
    color: #1a1a1a;
}
.theme-light .recuperar-acesso-subtext {
    color: #495057;
}
.theme-light .payment-success-title {
    color: #1a1a1a;
}
.theme-light .payment-success-text,
.theme-light .payment-success-message {
    color: #495057;
}
.theme-light .payment-success-link-title {
    color: #1a1a1a;
}
.theme-light .payment-success-link-note {
    color: #6b7280;
    opacity: 1;
}

/* Recuperar acesso: cores da loja (--rec-accent) prevalecem sobre o tema claro genérico */
html.theme-light .recuperar-acesso-page .header-main .title-link {
    color: var(--rec-accent);
}
html.theme-light .recuperar-acesso-page .payment-success-title {
    color: var(--rec-accent);
}
html.theme-light .recuperar-acesso-page .recuperar-grupo-title,
html.theme-light .recuperar-acesso-page .recuperar-empty-title {
    color: var(--rec-accent);
}

html.theme-light .recuperar-acesso-page .back-link {
    color: var(--rec-accent);
}

/* Página de sucesso — vitrine inquilino (cores --rec-accent no body) */
.tenant-store-surface .payment-success-icon {
    background: var(--rec-accent);
}

.tenant-store-surface .payment-success-link-button {
    background: linear-gradient(135deg, var(--rec-accent) 0%, var(--rec-accent-deep) 100%);
}

.tenant-store-surface .payment-success-link-button:hover {
    background: linear-gradient(135deg, var(--rec-accent-deep) 0%, var(--rec-accent) 100%);
}

.payment-success-thanks-head {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.payment-success-thanks-line {
    display: inline-block;
}

html.theme-light .tenant-store-surface .header-main .title-link {
    color: var(--rec-accent);
}

html.theme-light .tenant-store-surface .back-link {
    color: var(--rec-accent);
}

/* Checkout PIX inquilino: títulos e CTAs usam --rec-accent / --rec-accent-deep (definidos no body) */
html.theme-light body.tenant-store-surface.tenant-checkout .payment-title,
html.theme-light body.tenant-store-surface.tenant-checkout .payment-product-name,
html.theme-light body.tenant-store-surface.tenant-checkout .payment-qr-title,
html.theme-light body.tenant-store-surface.tenant-checkout .payment-pix-code-title {
    color: var(--rec-accent);
}

html.theme-light body.tenant-store-surface.tenant-checkout .payment-title {
    text-shadow: 0 1px 14px color-mix(in srgb, var(--rec-accent) 35%, transparent);
}

html.theme-light body.tenant-store-surface.tenant-checkout .back-link {
    color: var(--rec-accent);
}

html.theme-light body.tenant-store-surface.tenant-checkout .payment-check-button {
    background: linear-gradient(135deg, var(--rec-accent) 0%, var(--rec-accent-deep) 100%);
    color: #fff;
}

html.theme-light body.tenant-store-surface.tenant-checkout .payment-check-button:hover {
    background: linear-gradient(135deg, var(--rec-accent-deep) 0%, var(--rec-accent) 100%);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--rec-accent) 38%, transparent);
}

html.theme-light body.tenant-store-surface.tenant-checkout .payment-copy-button {
    background: var(--rec-accent);
    color: #fff;
}

html.theme-light body.tenant-store-surface.tenant-checkout .payment-copy-button:hover {
    background: var(--rec-accent-deep);
}

html.theme-light body.tenant-store-surface.tenant-checkout .payment-support-button {
    background: linear-gradient(135deg, var(--rec-accent) 0%, var(--rec-accent-deep) 100%);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--rec-accent) 32%, transparent);
}

html.theme-light body.tenant-store-surface.tenant-checkout .payment-support-button:hover {
    background: linear-gradient(135deg, var(--rec-accent-deep) 0%, var(--rec-accent) 100%);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--rec-accent) 38%, transparent);
}

html.theme-light body.tenant-store-surface.tenant-checkout .payment-spinner {
    border-color: color-mix(in srgb, var(--rec-accent) 22%, transparent);
    border-top-color: var(--rec-accent);
}

html.theme-light body.tenant-store-surface.tenant-checkout .payment-feature-icon-lock,
html.theme-light body.tenant-store-surface.tenant-checkout .payment-feature-icon-check,
html.theme-light body.tenant-store-surface.tenant-checkout .payment-feature-icon-shield,
html.theme-light body.tenant-store-surface.tenant-checkout .payment-feature-icon-bolt {
    color: var(--rec-accent);
}

/* Subtítulo “Link de acesso:” — texto neutro (só o botão CTA usa --rec-accent) */
html.theme-light .tenant-store-surface .payment-success-thanks-sub {
    color: #495057;
    font-weight: 600;
}
.theme-light .payment-success-waiting {
    color: #495057;
}
.theme-light .payment-expiry {
    color: #6b7280;
}
.theme-light .checkout-error-title {
    color: #1a1a1a;
}
.theme-light .checkout-error-text {
    color: #495057;
}
.theme-light .payment-success-grupo-name {
    color: #E55A2B;
}
.theme-light .payment-success-link-btn {
    color: #fff;
}
.theme-light .upsell-box {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}
.theme-light .upsell-title {
    color: #E55A2B;
}

/* Página de sucesso tenant: html tem theme-light — não sobrescrever o upsell Pemasi (branco/azul) */
.theme-light .upsell-modal--theme-pemasi .upsell-title {
    color: #0369a1;
    text-shadow: none;
}

.theme-light .upsell-modal--theme-pemasi .upsell-text,
.theme-light .upsell-modal--theme-pemasi .upsell-body-block {
    color: #475569;
}

.theme-light .upsell-text {
    color: #495057;
}
.theme-light .hero-title {
    color: #1a1a1a;
}
.theme-light .hero-subtitle {
    color: #495057;
}
.theme-light .section-title {
    color: #1a1a1a;
}
.theme-light .section-subtitle {
    color: #495057;
}
.theme-light .categoria-nome {
    color: #1a1a1a;
}
.theme-light .melhores-grid .product-card .product-name {
    color: #1a1a1a;
}
.theme-light .melhores-grid .product-card .product-description {
    color: #495057;
}
.theme-light .video-cover-title {
    color: #1a1a1a;
}
.theme-light .beneficios-vip-title {
    color: #1a1a1a;
}
.theme-light .benefits-list {
    color: #495057;
}
.theme-light .plan-badge,
.theme-light .plan-discount-badge {
    color: #fff;
}
.theme-light .buy-button {
    background: #444;
    color: #fff;
}
.theme-light .buy-button:hover {
    background: #333;
}
.theme-light .buy-button-featured {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    color: #fff;
}
.theme-light .buy-button-featured:hover {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
}
.theme-light .payment-feature-icon {
    color: #495057;
}
.theme-light .payment-feature-icon-lock,
.theme-light .payment-feature-icon-check,
.theme-light .payment-feature-icon-shield,
.theme-light .payment-feature-icon-bolt {
    color: #E55A2B;
}
.theme-light .payment-error {
    color: #c92a2a;
}
.theme-light .payment-spinner {
    border-color: rgba(255, 107, 53, 0.2);
    border-top-color: #FF6B35;
}
.theme-light #footer-lang-current .footer-lang-text {
    color: #495057;
}

/* --- Rodapé público SaaS: faixa estática Pemasi (--tenant-accent injetado com a cor de destaque) --- */
.tenant-promo-ticker {
    width: 100%;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    /* Fallback = laranja Pemasi (style.css / placeholder editor); --tenant-* vem do JSON de destaque */
    --tpt-accent: var(--tenant-accent, #ff6b35);
    --tpt-accent-deep: var(--tenant-accent-deep, #ea580c);
    /* Fundo da faixa = "Fundo geral da página" via --tenant-page-bg (tenant_surface_css); senão branco */
    background:
        linear-gradient(
                90deg,
                var(--tpt-accent) 0%,
                color-mix(in srgb, var(--tpt-accent) 55%, #ffffff) 55%,
                var(--tpt-accent-deep) 100%
            )
            0 0 / 100% 2px no-repeat,
        var(--tenant-page-bg, #ffffff) 0 0 / 100% 100% no-repeat;
    border-bottom: none;
    box-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.08) inset,
        0 -10px 36px rgba(15, 23, 42, 0.06);
}

.tenant-promo-ticker__viewport {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 14px;
    padding-right: max(76px, calc(14px + env(safe-area-inset-right, 0px)));
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

.tenant-promo-ticker__static {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 8px;
    row-gap: 10px;
    font-size: 13px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.tenant-promo-ticker__hit {
    text-decoration: none;
    cursor: pointer;
    transition:
        filter 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.tenant-promo-ticker__hit:focus-visible {
    outline: 2px solid var(--tpt-accent);
    outline-offset: 2px;
}

.tenant-promo-ticker__lead {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 5px 12px 5px 5px;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        var(--tpt-accent) 0%,
        var(--tpt-accent-deep) 100%
    );
    border: 1px solid color-mix(in srgb, var(--tpt-accent-deep) 82%, #000000);
    box-shadow:
        0 2px 10px color-mix(in srgb, var(--tpt-accent) 42%, transparent),
        0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.tenant-promo-ticker__lead.tenant-promo-ticker__hit:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
    box-shadow:
        0 4px 14px color-mix(in srgb, var(--tpt-accent) 48%, transparent),
        0 1px 0 rgba(255, 255, 255, 0.28) inset;
}

.tenant-promo-ticker__logo {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.tenant-promo-ticker__brand {
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.tenant-promo-ticker__sep {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 2px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--tpt-accent) 38%, #64748b);
    opacity: 0.75;
    flex-shrink: 0;
    align-self: center;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.tenant-promo-ticker__text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    max-width: min(100%, 22rem);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.35;
    color: #334155;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.tenant-promo-ticker__text.tenant-promo-ticker__hit:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: color-mix(in srgb, var(--tpt-accent) 35%, #e2e8f0);
    box-shadow:
        0 2px 8px color-mix(in srgb, var(--tpt-accent) 22%, transparent),
        0 0 0 1px rgba(255, 255, 255, 0.85) inset;
    transform: translateY(-1px);
}

@media (max-width: 520px) {
    .tenant-promo-ticker__viewport {
        padding-top: 10px;
        padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
    }

    .tenant-promo-ticker__text {
        max-width: 100%;
        padding: 6px 12px;
        font-size: 12px;
    }

    .tenant-promo-ticker__lead {
        padding: 4px 10px 4px 5px;
    }
}