/* Categorías Populares WC - Estilos */

.cpwc-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 32px 20px;
    box-sizing: border-box;
}

.cpwc-wrapper * {
    box-sizing: border-box;
}

.cpwc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.cpwc-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1f36;
    margin: 0;
    line-height: 1.2;
}

.cpwc-ver-todas {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}

.cpwc-ver-todas:hover {
    text-decoration: underline;
}

.cpwc-ver-todas i {
    font-size: 16px;
}

.cpwc-grid {
    display: grid;
    grid-template-columns: repeat(var(--cpwc-columnas, 4), 1fr);
    gap: 16px;
}

.cpwc-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.cpwc-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.cpwc-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8edff;
    border-radius: 10px;
    color: #2f5dff;
}

.cpwc-icon i {
    font-size: 22px;
    line-height: 1;
}

.cpwc-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1f36;
}

/* Responsive */
@media (max-width: 992px) {
    .cpwc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .cpwc-title {
        font-size: 22px;
    }
}
