:root {
    --primary: #0A1445;
    --primary-hover: #1a2a7a;
    --primary-soft: #eef2ff;
    --dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
}

.font-outfit { font-family: 'Outfit', sans-serif; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem; /* Respire de 20px nas bordas do mobile */
}

@media (max-width: 640px) {
    .container {
        padding: 0 0.75rem; /* Ajuste fino para celular */
    }
}

/* HEADER ELITE V3 */
.header-v3 {
    background: #fff;
    padding: 8px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Separação visual reforçada */
    position: sticky;
    top: 0;
    z-index: 1000;
    will-change: transform;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.header-divider {
    height: 35px;
    width: 1px;
    background: #eee; /* Linha de divisão interna */
    margin: 0 5px;
}

@media (max-width: 768px) {
    .header-divider { display: none; } /* Esconde divisória no mobile se o layout mudar */
}

.logo-box img { 
    height: 50px; 
    width: auto; 
    transition: 0.3s; 
}
@media (min-width: 1024px) { .logo-box img { height: 75px; } }

.search-bar {
    flex: 1;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 1.25rem;
    padding-right: 3rem;
    border: 2px solid #f1f5f9;
    border-radius: 99px;
    background: #f8fafc;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.search-bar input:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.search-bar i {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.nav-desktop { display: none; gap: 2rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-desktop a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.nav-desktop a:hover { color: var(--primary); }

/* GRID DE OFERTAS ELITE */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem; /* Espaçamento equilibrado */
    padding: 1.5rem 0.25rem; /* Respire para os selos flutuantes (top/bottom e lateral) */
}

@media (min-width: 768px) { .offers-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1.5rem 0; } }
@media (min-width: 1024px) { .offers-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.card-v3 {
    position: relative;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1.5px solid #f1f5f9;
    height: 100%;
    overflow: visible !important; /* Voltado para visible para o selo flutuar */
}

@media (max-width: 640px) {
    .card-v3 {
        padding: 10px;
        border-radius: 16px;
    }
}

.card-v3:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-soft);
}

/* LINK INVISÍVEL PARA PÁGINA DE COMPRA (FOTO/PREÇO) */
.card-direct-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75%; /* Cobre a foto e a área do preço */
    z-index: 2;
    text-decoration: none;
}

.card-img-container {
    width: 100%;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
    margin-bottom: 12px;
}

.card-img-v3 {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.card-badge-v3 {
    position: absolute;
    top: -10px;
    right: -10px;
    background: white;
    padding: 0;
    border-radius: 10px;
    width: 45px;
    height: 45px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 100 !important;
    border: 2.5px solid #fff;
    overflow: hidden;
}

@media (max-width: 640px) {
    .card-badge-v3 {
        width: 36px;
        height: 36px;
        top: -8px;
        right: -8px;
        border-radius: 8px;
    }
}

.card-v3:hover .card-badge-v3, 
.product-gallery:hover .card-badge-v3 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1.1);
}

.floating-p-badge {
    width: 60px !important;
    height: 60px !important;
    top: -15px !important;
    right: -15px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25) !important;
}

.card-badge-v3 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.card-store-label {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.card-title-v3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2rem; /* Garante alinhamento básico mesmo com títulos curtos */
    flex-grow: 1; /* Faz o título ocupar o espaço disponível */
}

.card-price-v3 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap; /* Permite quebrar se o cupom for grande */
}

.price-val-v3 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 640px) {
    .card-price-v3 {
        flex-direction: column; 
        align-items: flex-start;
        gap: 4px;
    }
    .price-val-v3 {
        font-size: 1.1rem;
    }
}

.old-price-v3 {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.time-ago-v3 {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* PÁGINA DE PRODUTO ELITE V3 */
.product-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding-bottom: 2rem;
}
@media (min-width: 1024px) { .product-wrapper { flex-direction: row; gap: 4rem; align-items: flex-start; margin-top: 2rem; } }

.product-gallery {
    background: white;
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: var(--shadow-md);
    flex: 1.2;
    display: flex;
    justify-content: center;
}
@media (min-width: 1024px) { .product-gallery { padding: 3rem; border-radius: 32px; } }
.product-gallery img { max-width: 100%; height: auto; max-height: 180px; }
@media (min-width: 1024px) { .product-gallery img { max-height: 450px; } }

.product-buy-box { flex: 1; }

.p-title-v3 { font-size: 0.95rem; font-weight: 800; line-height: 1.2; margin-bottom: 0.5rem; text-align: left; color: var(--dark); }
@media (min-width: 1024px) { .p-title-v3 { font-size: 1.7rem; margin-bottom: 1.5rem; } }

.p-price-v3 { font-size: 1.6rem; font-weight: 900; color: var(--primary); margin-bottom: 0.75rem; display: block; }
@media (min-width: 1024px) { .p-price-v3 { font-size: 2.8rem; margin-bottom: 2rem; } }

.voucher-ticket {
    background: #fff;
    border: 2px dashed #e2e8f0;
    border-radius: 20px;
    padding: 0.75rem 0.75rem 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    transition: 0.3s;
}

.voucher-info-v3 {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.voucher-small {
    font-size: 0.6rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.voucher-code-v3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.copy-btn-v3 {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(10,20,69,0.2);
    transition: 0.3s;
}

.copy-btn-v3:hover { transform: scale(1.05); box-shadow: 0 6px 15px rgba(10,20,69,0.3); }

.btn-buy-v3 {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #0A1445, #F59E0B);
    color: white;
    text-align: center;
    padding: 1.25rem;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(10,20,69,0.3);
}

/* NAV-V3 ELITE */
.nav-v3 {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 8px 15px;
    border-radius: 99px;
    display: flex;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    z-index: 1000;
    border: 1.5px solid #f1f5f9;
}
@media (min-width: 1024px) { .nav-v3 { display: none; } }

.nav-item-v3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #64748b;
    padding: 6px 14px;
    border-radius: 99px;
}

.nav-item-v3.active { background: var(--primary-soft); color: var(--primary); }
.nav-item-v3 i { font-size: 1.1rem; }
.nav-item-v3 span { font-size: 0.58rem; font-weight: 800; text-transform: uppercase; }

/* BOTÕES DE AÇÃO ELITE V3 */
.action-buttons-group {
    flex: 1;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; /* Centralizado para quando houver apenas um */
}

@media (min-width: 1024px) {
    .action-buttons-group {
        flex: 0 auto;
    }
}

.action-btn-v3 {
    flex: 1;
    min-width: 160px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 640px) {
    .action-btn-v3 {
        min-width: 140px;
        height: 60px; /* Aumentado para preencher melhor */
        padding: 0.5rem 1rem;
    }
    .btn-main-text { font-size: 0.95rem !important; } /* Texto maior */
    .btn-small-text { font-size: 0.55rem !important; }
    .action-btn-v3 i { font-size: 1.4rem !important; }
}

@media (min-width: 1024px) {
    .action-btn-v3 {
        max-width: 400px;
        min-width: 220px;
        height: 70px;
        border-radius: 18px;
    }
    .action-btn-v3 i { font-size: 2rem !important; }
    .btn-main-text { font-size: 1.1rem !important; }
    .btn-small-text { font-size: 0.7rem !important; }
}

.vip-btn { background: linear-gradient(135deg, #25d366, #128c7e); color: white; }

/* MODO SOZINHO: Botão horizontal com texto cheio */
.vip-btn.is-alone {
    flex-direction: row !important;
    padding: 0 2rem !important;
}
.vip-btn.is-alone .btn-text-content { display: none !important; }
.vip-btn.is-alone .btn-full-text { 
    display: block !important; 
    font-size: 1.1rem !important; 
    font-weight: 900 !important; 
    letter-spacing: 0.5px !important;
}
.vip-btn.is-alone i { font-size: 1.8rem !important; }

.install-btn { background: var(--dark); color: white; display: none; } /* Oculto por padrão, JS mostra se compatível + mobile */
.btn-text-content { text-align: left; }
.btn-small-text { display: block; font-size: 0.5rem; font-weight: 800; text-transform: uppercase; opacity: 0.8; letter-spacing: 0.5px; line-height: 1; }
.btn-main-text { font-size: 0.8rem; font-weight: 900; line-height: 1.2; }

/* PÁGINA DE CUPONS ESTILO TICKET ELITE */
.coupon-tabs-v3 {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.tab-btn-v3 {
    background: transparent;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.tab-btn-v3.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(10,20,69,0.1);
}

.coupon-list-v3 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.coupon-ticket-v3 {
    background: #fff;
    display: flex;
    align-items: center;
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-decoration: none;
    transition: 0.3s;
}

.coupon-ticket-v3:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

/* Recortes Circulares (Ticket Notch) */
.coupon-ticket-v3::before,
.coupon-ticket-v3::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: #f8fafc; /* Cor do fundo da página */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.coupon-ticket-v3::before { left: -12px; }
.coupon-ticket-v3::after { right: -12px; }

.ticket-store-left {
    flex: 0 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-right: 1.5px dashed #f1f5f9;
    padding-right: 1.5rem;
}

.ticket-store-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 8px;
    background: #f8fafc;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.ticket-store-name {
    font-size: 0.6rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
}

.ticket-info-mid {
    flex: 2;
    padding: 0 2rem;
}

.ticket-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.ticket-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.ticket-discount {
    font-size: 1.4rem;
    font-weight: 950;
    color: var(--primary);
}

.ticket-action-right {
    flex: 0 0 180px;
    text-align: right;
}


/* --- NOVO SISTEMA DE CUPONS RESPONSIVO --- */
.coupon-card-responsive {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 1.5rem;
    margin-bottom: 0.4rem;
}

.coupon-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Lado a lado no Desktop */
    gap: 20px;
}

.coupon-text-group { text-align: left; }
.ticket-discount { display: flex; align-items: center; gap: 5px; white-space: nowrap; flex-wrap: nowrap; }
.coupon-label { font-size: 1rem; font-weight: 900; color: #94a3b8; text-transform: uppercase; }
.coupon-code-val { font-size: 1.1rem; font-weight: 900; color: var(--primary); }
.ticket-desc { margin-top: 2px; font-weight: 700; color: #94a3b8; font-size: 0.7rem; }

.coupon-actions-group {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 250px;
}

.btn-copy-responsive {
    flex: 1;
    height: 45px;
    font-size: 0.9rem;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 200px;
}

.btn-store-responsive {
    background: var(--dark);
    color: white;
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .coupon-card-responsive { padding: 0.8rem !important; gap: 0.8rem !important; }
    .coupon-content-wrapper { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
    .coupon-actions-group { width: 100% !important; min-width: 0 !important; }
    .btn-copy-responsive { max-width: none !important; height: 48px !important; font-size: 0.85rem !important; }
    .btn-store-responsive { height: 48px !important; width: 48px !important; }
    .ticket-store-left { flex: 0 0 55px !important; }
    .ticket-store-logo { width: 50px !important; height: 50px !important; }
    .coupon-label { font-size: 0.85rem !important; }
    .coupon-code-val { font-size: 0.95rem !important; }
    .ticket-desc { font-size: 0.65rem !important; }
}

.action-btn-v3:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.vip-btn { background: linear-gradient(135deg, #25d366, #128c7e); color: white; }
.install-btn { background: var(--dark); color: white; display: none; }
.action-btn-v3 i { font-size: 1.5rem; }
.btn-text-content { text-align: left; }
.btn-small-text { display: block; font-size: 0.55rem; font-weight: 800; text-transform: uppercase; opacity: 0.8; letter-spacing: 0.5px; line-height: 1; }
.btn-main-text { font-size: 0.85rem; font-weight: 900; line-height: 1.2; }

/* Melhores Lojas Bar */
.stores-section { margin: 1.5rem 0; }
.section-title { font-size: 1.1rem; font-weight: 900; color: var(--dark); margin-bottom: 1rem; font-family: 'Outfit', sans-serif; }
.stores-bar { display: flex; gap: 1rem; overflow-x: auto; padding: 10px 5px; scrollbar-width: none; -ms-overflow-style: none; }
.stores-bar::-webkit-scrollbar { display: none; }
.store-chip { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-decoration: none; 
    width: 55px; 
    height: 55px; 
    min-width: 55px;
    background: white; 
    border-radius: 12px; 
    box-shadow: var(--shadow-sm); 
    border: 1.5px solid #f1f5f9;
    transition: 0.3s;
    overflow: hidden;
}

@media (max-width: 640px) {
    .store-chip {
        width: 45px;
        height: 45px;
        min-width: 45px;
        border-radius: 10px;
    }
}

.store-chip:hover { transform: scale(1.05); border-color: var(--primary); box-shadow: var(--shadow-md); }
.store-logo-sm { width: 100%; height: 100%; object-fit: contain; padding: 0; background: transparent; }

/* NOVO BADGE DE CUPOM NOS CARDS */
.coupon-badge-v3 {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fffbeb;
    color: #d97706;
    border: 1.2px dashed #f59e0b;
    padding: 2px 6px; /* Tamanho reduzido como solicitado */
    border-radius: 6px;
    font-size: 0.65rem; /* Fonte menor selecionada */
    font-weight: 900;
    box-shadow: 0 1px 4px rgba(245, 158, 11, 0.08);
    animation: pulse-coupon 2s infinite;
}

@keyframes pulse-coupon {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.coupon-badge-v3 i {
    font-size: 0.75rem;
}

/* SISTEMA DE COMENTÁRIOS PREMIUM */
.comment-section {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.comment-form-container {
    margin-bottom: 3rem;
}

.comment-form-container h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* SISTEMA DE LAYOUT VARIÁVEL (GRADE / LISTA) */
.offers-grid-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    transition: 0.3s opacity;
}

@media (max-width: 640px) {
    .offers-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* MODO LISTA (CONCEITO CATALOGO) */
.offers-grid-v3.view-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 800px;
    margin: 0 auto;
}

.offers-grid-v3.view-list .card-v3 {
    flex-direction: row !important;
    height: 170px !important; /* Aumentado para caber tudo */
    padding: 0 !important;
    overflow: hidden !important;
    align-items: stretch !important;
    border-radius: 18px !important;
    background: #fff !important;
    border: 1px solid #f1f5f9 !important;
}

.offers-grid-v3.view-list .card-img-container {
    width: 150px !important;
    height: 100% !important;
    min-width: 150px !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    border: none !important;
    border-right: 1px solid #f1f5f9 !important;
    padding: 0 !important;
}

.offers-grid-v3.view-list .card-img-v3 {
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* Garante que a foto não corte */
    background: #fff !important;
}

.offers-grid-v3.view-list .card-badge-v3 {
    width: 32px !important;
    height: 32px !important;
    top: 10px !important;
    right: 10px !important; /* Movido para a direita */
    left: auto !important;
    z-index: 5 !important;
}

/* CONTAINER DE INFORMAÇÕES (DIREITA) */
.offers-grid-v3.view-list .card-content-v3 {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 15px !important;
    justify-content: space-between !important;
    min-width: 0 !important; /* Impede quebra de layout com textos longos */
}

.offers-grid-v3.view-list .card-title-v3 {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
    padding-top: 5px !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: #334155 !important;
}

.offers-grid-v3.view-list .card-price-v3 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-bottom: 0 !important;
}

.offers-grid-v3.view-list .price-val-v3 {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

.offers-grid-v3.view-list .coupon-badge-v3 {
    padding: 3px 8px !important;
    font-size: 0.65rem !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
}

.offers-grid-v3.view-list .card-actions-v3 {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid #f8fafc !important;
}

.offers-grid-v3.view-list .btn-details-v3 {
    flex: 2 !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
}

.offers-grid-v3.view-list .btn-interact-v3 {
    flex: 1 !important;
    max-width: 50px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 640px) {
    .offers-grid-v3.view-list .card-v3 {
        height: 190px !important; /* Mais altura para garantir que o título não corte */
    }
    .offers-grid-v3.view-list .card-img-container {
        width: 125px !important;
        min-width: 125px !important;
    }
    .offers-grid-v3.view-list .card-title-v3 {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    .offers-grid-v3.view-list .price-val-v3 {
        font-size: 1.05rem !important;
    }
    .offers-grid-v3.view-list .coupon-badge-v3 {
        font-size: 0.6rem !important;
        padding: 2px 6px !important;
    }
}

.layout-toggle-btn {
    background: #fff;
    border: 1.5px solid #f1f5f9;
    color: #64748b;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
}

.layout-toggle-btn:hover {
    color: var(--primary);
    border-color: var(--primary-soft);
    transform: translateY(-2px);
}

.layout-toggle-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.form-grid-v3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .form-grid-v3 { grid-template-columns: 1fr; }
}

.form-group-v3 label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
    margin-left: 12px;
}

.form-group-v3 input, 
.form-group-v3 textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    background: #f8fafc;
    font-size: 0.9rem;
    font-family: inherit;
    transition: 0.3s;
}

.form-group-v3 input:focus, 
.form-group-v3 textarea:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.btn-submit-v3 {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 900;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(10,20,69,0.2);
}

.btn-submit-v3:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10,20,69,0.3);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    padding: 1.5rem;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.comment-author {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--dark);
}

.comment-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.comment-text {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
}

/* BOTÃO DE COMENTÁRIO NO CARD */
.card-actions-v3 {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.btn-details-v3 {
    flex: 1;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
}

.btn-interact-v3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #f1f5f9;
    color: var(--primary); /* Alterado para laranja */
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
}

.btn-interact-v3 i {
    color: var(--primary); /* Garantindo o ícone laranja */
}

.btn-interact-v3:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

/* FORMULÁRIO COMPACTO ABAIXO DO BOTÃO */
.comment-form-compact {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
}

.comment-form-compact h3 {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* CARD DE COMENTÁRIOS PUBLICADOS (ACIMA DAS ÚLTIMAS OFERTAS) */
.published-comments-card {
    margin: 3rem 0 1rem 0;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.published-comments-card h3 {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-details-v3:hover {
    background: var(--primary);
    color: white;
}

/* MODAL V3 - ALERTAS */
.modal-v3 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content-v3 {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header-v3 {
    padding: 1.5rem;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.modal-header-v3 h3 { font-weight: 900; color: var(--primary); font-size: 1.1rem; }
.close-modal-v3 { background: none; border: none; font-size: 1.5rem; color: #94a3b8; cursor: pointer; }

.modal-body-v3 { padding: 2rem; }
.modal-desc-v3 { font-size: 0.9rem; color: #64748b; margin-bottom: 1.5rem; text-align: center; }

.alert-status-box {
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.alert-status-box i { color: var(--primary); font-size: 1.2rem; }
.alert-status-box span { flex: 1; font-size: 0.85rem; font-weight: 700; color: var(--dark); }

.btn-enable-v3 {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 900;
    cursor: pointer;
}

.keyword-input-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 8px;
    margin-left: 5px;
}

.input-wrapper-v3 {
    display: flex;
    gap: 10px;
}

.input-wrapper-v3 input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    background: #f8fafc;
    font-size: 0.9rem;
    transition: 0.3s;
}

.input-wrapper-v3 input:focus { border-color: var(--primary); outline: none; background: white; }

#btn-save-alerts {
    background: var(--primary);
    color: white;
    border: none;
    width: 50px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

#btn-save-alerts:hover { transform: scale(1.05); }

.keyword-input-group small {
    display: block;
    margin-top: 10px;
    font-size: 0.65rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* GUIA DE INSTALAÇÃO IOS V4 (FORÇADO) */
.ios-panel-v4 {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease-out;
}

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

.ios-panel-header {
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.ios-panel-header i { color: #000; font-size: 1.2rem; }
.ios-panel-header span { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.2rem; color: #ff6b00; }

.ios-close-btn {
    position: absolute;
    right: 15px;
    background: #e2e8f0;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
    font-weight: bold;
}

.ios-panel-body {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ios-v4-step {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f1f5f9;
    padding: 15px;
    border-radius: 20px;
}

.v4-num {
    background: #ff6b00;
    color: white;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.ios-v4-step p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

.ios-panel-footer {
    padding: 0 20px 25px 20px;
}

.ios-btn-confirm {
    width: 100%;
    height: 55px;
    background: #ff6b00;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255,107,0,0.3);
}

.ios-btn-confirm:active { transform: scale(0.98); }

@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.new-offer-anim {
    animation: slideDown 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
