/* CSS Personalizado Ereemby - Tema 3 (Vertical Grid & Mobile Marquee) */
:root {
    --t3-highlight: #5b73e8;
    --t3-text-main: #ffffff;
    --t3-text-sec: #a0a0a0;
    --t3-btn-bg: #1a1a1f;
    --t3-btn-border: #333333;
}

#tema-gerado-t3,
#tema-gerado-t3 * {
    box-sizing: border-box;
}

.t3-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 20px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

/* ESQUERDA - TEXTO */
.t3-left {
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

.t3-left h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--t3-text-main) !important;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.t3-left h1 span {
    color: var(--t3-highlight) !important;
}

.t3-left p {
    font-size: 1.05rem;
    color: var(--t3-text-sec) !important;
    margin-bottom: 35px;
    line-height: 1.6;
}

.t3-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--t3-btn-bg);
    color: var(--t3-text-main) !important;
    border: 1px solid var(--t3-btn-border);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.t3-btn:hover {
    border-color: var(--t3-highlight);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    filter: brightness(1.2);
}

/* DIREITA - GRADE VERTICAL SCROLLING (PC - 3 COLUNAS) */
.t3-right {
    flex: 1.2;
    height: 450px;
    overflow: hidden;
    display: flex;
    gap: 15px;
    justify-content: center;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.t3-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 30%;
}

.t3-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.t3-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    flex-shrink: 0;
    background: #111;
}

.t3-item img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.t3-item:hover {
    transform: scale(1.05);
    border-color: var(--t3-highlight);
    z-index: 5;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.t3-item:hover img {
    opacity: 1;
}

.t3-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    pointer-events: none;
}

/* ANIMAÇÕES VERTICAIS */
@keyframes scrollUpT3 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDownT3 {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

.vc-slow {
    animation: scrollUpT3 40s linear infinite;
}

.vc-med {
    animation: scrollDownT3 30s linear infinite;
}

.vc-fast {
    animation: scrollUpT3 25s linear infinite;
}

.t3-col:hover .t3-inner {
    animation-play-state: paused;
}

/* MOBILE - 2 FILEIRAS HORIZONTAIS */
.t3-mobile-marquee {
    display: none;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    margin-top: 30px;
}

.t3-mq-row {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}

.t3-mq-inner {
    display: flex;
    gap: 12px;
    width: max-content;
}

@keyframes scrollMobileRightT3 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollMobileLeftT3 {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.mq-row-right {
    animation: scrollMobileRightT3 25s linear infinite;
}

.mq-row-left {
    animation: scrollMobileLeftT3 25s linear infinite;
}

.t3-mq-item {
    width: 150px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #111;
}

.t3-mq-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    .t3-hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 40px 15px;
    }

    .t3-left {
        max-width: 100%;
    }

    .t3-left h1 {
        font-size: 2.8rem;
    }

    .t3-right {
        display: none;
    }

    /* Oculta as 3 colunas de PC no Celular */
    .t3-mobile-marquee {
        display: block;
    }

    /* Ativa a linha deslizante */
}

#powered-ereemby {
  display: none !important;
}





/* --- POP-UP CUPOM CARLOTA10 (TEMA AZUL ESCURO COMPLETO) --- */
.carlota-popup-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 9, 20, 0.8);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.carlota-popup-overlay * {
    box-sizing: border-box;
}

.carlota-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.carlota-popup-card {
    background: #0f172a;
    /* Azul Escuro Principal */
    border: 1px solid #1e293b;
    padding: 32px 24px 24px 24px;
    border-radius: 16px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.carlota-popup-overlay.active .carlota-popup-card {
    transform: scale(1);
}

.carlota-close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.carlota-close-btn:hover {
    color: #f8fafc;
}

.carlota-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    /* Azul Claro Brilhante */
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.carlota-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.carlota-text {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.carlota-coupon-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px dashed #38bdf8;
    /* Borda Azul Claro */
    background: #1e293b;
    /* Azul Escuro Secundário */
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.carlota-coupon-code {
    font-size: 18px;
    font-weight: 800;
    color: #38bdf8;
    /* Destaque no código */
    letter-spacing: 1.2px;
}

.carlota-copy-btn {
    background: #0284c7;
    /* Azul Claro / Médio */
    color: #ffffff;
    border: none;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carlota-copy-btn:hover {
    background: #0369a1;
}

.carlota-copy-btn.copied {
    background: #10b981;
    /* Verde Sucesso */
}

.carlota-disclaimer {
    font-size: 11px;
    color: #64748b;
    margin-top: 8px;
    margin-bottom: 0;
}