/* ============================================
   PATINETE FINDER - ESTILOS
   ============================================ */

.pfinder-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   FILTROS
   ============================================ */

.pfinder-filtros {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pfinder-filtros h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pfinder-filtros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 1024px) {
    .pfinder-filtros-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pfinder-filtros-grid {
        grid-template-columns: 1fr;
    }
}

.pfinder-filtros label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 11px;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pfinder-filtros select,
.pfinder-filtros input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.pfinder-filtros select:focus,
.pfinder-filtros input:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.pfinder-filtros-botoes {
    margin-top: 25px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pfinder-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.pfinder-btn-primario {
    background: #3182ce;
    color: white;
}

.pfinder-btn-primario:hover {
    background: #2c5282;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(49, 130, 206, 0.3);
}

.pfinder-btn-secundario {
    background: white;
    color: #4a5568;
    border: 1px solid #cbd5e0;
}

.pfinder-btn-secundario:hover {
    background: #f7fafc;
    border-color: #a0aec0;
}

/* ============================================
   ESTADO INICIAL
   ============================================ */

.pfinder-estado-inicial {
    text-align: center;
    padding: 80px 40px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e0;
}

.pfinder-estado-inicial-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.pfinder-estado-inicial h3 {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 10px;
}

.pfinder-estado-inicial p {
    color: #718096;
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.pfinder-dicas {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    /* gap: 20px; */
    flex-wrap: wrap;
}

.pfinder-dica-item {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    color: #4a5568;
    display: flex;
    align-items: center;
    /* gap: 8px; */
}

/* ============================================
   RESULTADOS
   ============================================ */

.pfinder-resultado-info {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: #c6f6d5;
    border-radius: 8px;
    color: #22543d;
    font-weight: 500;
    border-left: 4px solid #48bb78;
}

.pfinder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

@media (max-width: 768px) {
    .pfinder-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CARDS
   ============================================ */

.pfinder-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.pfinder-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.pfinder-card img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin-bottom: 15px;
    background: #f7fafc;
}

.pfinder-card h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #2d3748;
    font-weight: 700;
}

.pfinder-card .preco {
    font-size: 28px;
    color: #2c5282;
    font-weight: 800;
    margin: 15px 0;
}

.pfinder-card .specs {
    color: #4a5568;
    font-size: 14px;
    margin: 15px 0;
    line-height: 1.6;
    padding: 15px;
    background: #f7fafc;
    border-radius: 6px;
}

.pfinder-card .specs strong {
    color: #2d3748;
}

.pfinder-card .btn {
    display: block;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: #fff;
    padding: 14px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.pfinder-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.4);
}

/* DESTAQUE */
.pfinder-card.destaque {
    border-color: #3182ce;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.15);
}

.pfinder-card.destaque::before {
    content: "★ DESTAQUE";
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ============================================
   SEM RESULTADOS
   ============================================ */

.pfinder-sem-resultados {
    text-align: center;
    padding: 80px 40px;
    background: #fed7d7;
    border-radius: 12px;
    color: #742a2a;
}

.pfinder-sem-resultados h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.pfinder-sem-resultados p {
    font-size: 16px;
    opacity: 0.8;
}

.pfinder-aviso-redirect {
    background: #fff8e5;
    border-left: 4px solid #f0b400;
    padding: 16px;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.5;
}


/* ============================================
   COMPARADOR
   ============================================ */

/* GRID BASE */
.pf-grid {
    display:grid;
    gap:0;
}

/* CABEÇALHO DE SEÇÃO */
.pf-section-header {
    background:#f7fafc;
    border-top:2px solid #e2e8f0;
}

/* COLUNA DE LABEL */
.pf-label {
    padding:10px 8px;
    border-right:2px solid #e2e8f0;
    font-weight:600;
    color:#4a5568;
    background:#fafafa;
    font-size:12px;
    display:flex;
    align-items:center;
}

/* CÉLULAS */
.pf-cell {
    padding:10px 8px;
    text-align:center;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:45px;
    border-right:2px solid #e2e8f0;
}

/* VARIAÇÕES */
.pf-win {
    background:#f0fff4;
    border-color:#38a169;
}

.pf-lose {
    background:#fff;
}

.pf-tie {
    background:#f8f9fa;
    border-color:#cbd5e0;
}

/* ÍCONE DE VENCEDOR */
.pf-badge {
    position:absolute;
    top:3px;
    right:3px;
    color:#fff;
    border-radius:50%;
    width:18px;
    height:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:bold;
}
