/**
 * Aúnika Equipamentos - Estilos da listagem
 */

.aueq-wrapper {
    background-color: #2F2F2F;
    padding: 32px 24px;
    border-radius: 12px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}

.aueq-wrapper *,
.aueq-wrapper *::before,
.aueq-wrapper *::after {
    box-sizing: border-box;
}

/* ---------- Filtros ---------- */
.aueq-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
}

.aueq-filtro-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.aueq-filtro-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.aueq-filtro-btn.is-ativo {
    background: #ffffff;
    color: #2F2F2F;
    border-color: #ffffff;
}

/* ---------- Grid ---------- */
.aueq-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 600px) {
    .aueq-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .aueq-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .aueq-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .aueq-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .aueq-cols-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
    .aueq-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Card ---------- */
.aueq-card {
    background: #3a3a3a;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.aueq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.aueq-card.is-oculto {
    display: none;
}

/* Foto */
.aueq-card-foto {
    position: relative;
    width: 100%;
    padding-top: 66%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1f1f1f;
}

.aueq-card-foto--vazio {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    height: 200px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* Badge Novo/Usado */
.aueq-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
}

.aueq-badge-novo {
    background: #25D366;
    color: #ffffff;
}

.aueq-badge-usado {
    background: #f39c12;
    color: #ffffff;
}

/* Corpo do card */
.aueq-card-corpo {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    color: #ffffff;
}

.aueq-card-titulo {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.aueq-card-desc {
    color: #ffffff;
    opacity: 0.85;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 18px 0;
    flex: 1;
}

/* ---------- Botão WhatsApp ---------- */
.aueq-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: background 0.2s ease, transform 0.15s ease;
    border: none;
    cursor: pointer;
    line-height: 1.2;
    margin-top: auto;
    text-align: center;
}

.aueq-btn-whatsapp:hover,
.aueq-btn-whatsapp:focus {
    background: #1ebe57;
    color: #ffffff !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.aueq-btn-whatsapp:active {
    transform: translateY(0);
}

.aueq-btn-whatsapp svg {
    flex-shrink: 0;
}

.aueq-btn-desabilitado {
    background: #555 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ---------- Vazio ---------- */
.aueq-vazio,
.aueq-vazio-filtro {
    text-align: center;
    color: #ffffff;
    padding: 40px 20px;
    background: #2F2F2F;
    border-radius: 10px;
    font-size: 15px;
    opacity: 0.8;
}

.aueq-vazio-filtro {
    background: transparent;
    padding: 30px 20px 0;
}
